[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-12-23 Thread Antonio Rojas via arch-commits
Date: Wednesday, December 23, 2020 @ 13:06:38
  Author: arojas
Revision: 784213

Update to 4.4.21

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 13:05:12 UTC (rev 784212)
+++ PKGBUILD2020-12-23 13:06:38 UTC (rev 784213)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.19
+pkgver=4.4.21
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('4f2173088f858aa6dfb9cb62c13c910d18864a79aec99eacd85232369c9a6729')
+sha256sums=('ecab1cb0fbc855cb688610e79e3e69d18380bc42f7c33f33b57df4785a940d49')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-12-18 Thread Antonio Rojas via arch-commits
Date: Friday, December 18, 2020 @ 21:56:30
  Author: arojas
Revision: 779688

Update to 4.4.19

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-18 21:53:55 UTC (rev 779687)
+++ PKGBUILD2020-12-18 21:56:30 UTC (rev 779688)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.17
+pkgver=4.4.19
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('8cfb6f8be7be64046982849aaa48020caf5c6f1ab9cd9422af6082dfd669267d')
+sha256sums=('4f2173088f858aa6dfb9cb62c13c910d18864a79aec99eacd85232369c9a6729')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-12-15 Thread Antonio Rojas via arch-commits
Date: Tuesday, December 15, 2020 @ 16:59:16
  Author: arojas
Revision: 776000

Update to 4.4.17

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-15 16:56:11 UTC (rev 775999)
+++ PKGBUILD2020-12-15 16:59:16 UTC (rev 776000)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.16
+pkgver=4.4.17
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('683e3b6f5fe8a0b85e33dd25261f09b8c1133f0c7df94b00bbeeaf2c3271a621')
+sha256sums=('8cfb6f8be7be64046982849aaa48020caf5c6f1ab9cd9422af6082dfd669267d')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-12-14 Thread Antonio Rojas via arch-commits
Date: Monday, December 14, 2020 @ 20:32:56
  Author: arojas
Revision: 775759

Update to 4.4.16

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-14 20:30:48 UTC (rev 775758)
+++ PKGBUILD2020-12-14 20:32:56 UTC (rev 775759)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.13
+pkgver=4.4.16
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('578b922879ffa41fbd077891805792a81903b2991c087239f87b460c41f34c16')
+sha256sums=('683e3b6f5fe8a0b85e33dd25261f09b8c1133f0c7df94b00bbeeaf2c3271a621')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-11-27 Thread Antonio Rojas via arch-commits
Date: Friday, November 27, 2020 @ 18:20:24
  Author: arojas
Revision: 764581

Update to 4.4.13

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-27 18:20:15 UTC (rev 764580)
+++ PKGBUILD2020-11-27 18:20:24 UTC (rev 764581)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.12
+pkgver=4.4.13
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('1de570bb016b1ce7328d6425990354ce02777b83e73d80fecac3501b158eef72')
+sha256sums=('578b922879ffa41fbd077891805792a81903b2991c087239f87b460c41f34c16')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-11-26 Thread Antonio Rojas via arch-commits
Date: Thursday, November 26, 2020 @ 14:35:10
  Author: arojas
Revision: 763542

Update to 4.4.12

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-26 14:32:40 UTC (rev 763541)
+++ PKGBUILD2020-11-26 14:35:10 UTC (rev 763542)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.10
+pkgver=4.4.12
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('24cd01a6174e8f137cfb48aee873551d72d7e648c3d6a4dca8a8d81569e42f64')
+sha256sums=('1de570bb016b1ce7328d6425990354ce02777b83e73d80fecac3501b158eef72')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-11-24 Thread Antonio Rojas via arch-commits
Date: Tuesday, November 24, 2020 @ 16:17:38
  Author: arojas
Revision: 760951

Update to 4.4.10

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-24 16:17:17 UTC (rev 760950)
+++ PKGBUILD2020-11-24 16:17:38 UTC (rev 760951)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.9
+pkgver=4.4.10
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('3dd1cf40e16f646b735954a512c7001da806b73e2151623476ddbbac3583adc6')
+sha256sums=('24cd01a6174e8f137cfb48aee873551d72d7e648c3d6a4dca8a8d81569e42f64')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-11-19 Thread Antonio Rojas via arch-commits
Date: Thursday, November 19, 2020 @ 14:38:15
  Author: arojas
Revision: 757584

Update to 4.4.9

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-19 14:37:18 UTC (rev 757583)
+++ PKGBUILD2020-11-19 14:38:15 UTC (rev 757584)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.8
+pkgver=4.4.9
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('343292a59a5b36c47e23b1cd11846c69aaa383e40e3134fe0d88692b50f8a717')
+sha256sums=('3dd1cf40e16f646b735954a512c7001da806b73e2151623476ddbbac3583adc6')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-11-13 Thread Antonio Rojas via arch-commits
Date: Friday, November 13, 2020 @ 17:16:05
  Author: arojas
Revision: 753931

Update to 4.4.8

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-13 17:13:22 UTC (rev 753930)
+++ PKGBUILD2020-11-13 17:16:05 UTC (rev 753931)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.7
+pkgver=4.4.8
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('d9bdc777c64839a883ce099101861de0a1d3fbc383e358efa878b220350d8071')
+sha256sums=('343292a59a5b36c47e23b1cd11846c69aaa383e40e3134fe0d88692b50f8a717')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-11-11 Thread Antonio Rojas via arch-commits
Date: Wednesday, November 11, 2020 @ 22:08:57
  Author: arojas
Revision: 751260

Update to 4.4.7

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 22:07:37 UTC (rev 751259)
+++ PKGBUILD2020-11-11 22:08:57 UTC (rev 751260)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.6
+pkgver=4.4.7
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('0498dd1edd24e6d74a7f814d17904989100823bc5d0b198cc281d3ceb39b57ef')
+sha256sums=('d9bdc777c64839a883ce099101861de0a1d3fbc383e358efa878b220350d8071')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-10-28 Thread Antonio Rojas via arch-commits
Date: Wednesday, October 28, 2020 @ 07:10:21
  Author: arojas
Revision: 735265

Update to 4.4.6

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-28 07:07:56 UTC (rev 735264)
+++ PKGBUILD2020-10-28 07:10:21 UTC (rev 735265)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.4.0
+pkgver=4.4.6
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('5fc501c742f38661b5ac8904e6a66f530b07be93d7493663daab33f3d4ffdb6c')
+sha256sums=('0498dd1edd24e6d74a7f814d17904989100823bc5d0b198cc281d3ceb39b57ef')
 
 build() {
   cmake -B build -S $pkgname-$pkgver \


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-06-24 Thread Antonio Rojas via arch-commits
Date: Wednesday, June 24, 2020 @ 20:32:22
  Author: arojas
Revision: 652467

Update to 4.4.0

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |   16 +---
 1 file changed, 5 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-24 20:30:48 UTC (rev 652466)
+++ PKGBUILD2020-06-24 20:32:22 UTC (rev 652467)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.3.1
+pkgver=4.4.0
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,21 +10,15 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('6ed26d80293d9d540e373721b4819ce6159dfe457cc120fc7e696db7d4128ba8')
+sha256sums=('5fc501c742f38661b5ac8904e6a66f530b07be93d7493663daab33f3d4ffdb6c')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DENABLE_STATIC=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2020-02-26 Thread Antonio Rojas via arch-commits
Date: Wednesday, February 26, 2020 @ 11:39:58
  Author: arojas
Revision: 582353

Update to 4.3.1

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 11:39:35 UTC (rev 582352)
+++ PKGBUILD2020-02-26 11:39:58 UTC (rev 582353)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.3.0
+pkgver=4.3.1
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('d24023989437736c37562b63fe73cef36b65238d1048efac13195b6cec3a6c94')
+sha256sums=('6ed26d80293d9d540e373721b4819ce6159dfe457cc120fc7e696db7d4128ba8')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2019-12-10 Thread Antonio Rojas via arch-commits
Date: Tuesday, December 10, 2019 @ 19:26:17
  Author: arojas
Revision: 536562

Tag renamed to 4.3.0

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-10 19:25:15 UTC (rev 536561)
+++ PKGBUILD2019-12-10 19:26:17 UTC (rev 536562)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=4.3
+pkgver=4.3.0
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(libxml2 bctoolbox sqlite)
 makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('bd9739b973af1e957ff39f613b5995514657a80152994c5c111a75843da4257e')
+sha256sums=('d24023989437736c37562b63fe73cef36b65238d1048efac13195b6cec3a6c94')
 
 prepare() {
   mkdir -p build


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2019-12-09 Thread Antonio Rojas via arch-commits
Date: Monday, December 9, 2019 @ 21:19:13
  Author: arojas
Revision: 536441

Update to 4.3

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |   34 ++
 1 file changed, 18 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-09 21:11:34 UTC (rev 536440)
+++ PKGBUILD2019-12-09 21:19:13 UTC (rev 536441)
@@ -1,28 +1,30 @@
-# Maintainer:
-# Contributor: Antonio Rojas 
+# Maintainer: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=1.0.6
-pkgrel=3
+pkgver=4.3
+pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bzrtp;
-license=('GPL2')
-depends=('libxml2' 'mbedtls' 'bctoolbox')
-makedepends=('bcunit')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+license=(GPL2)
+depends=(libxml2 bctoolbox sqlite)
+makedepends=(bcunit cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('d551cf45372a180319fd93d7b59823ccff169dc41f67a777932c83def8019260')
+sha256sums=('bd9739b973af1e957ff39f613b5995514657a80152994c5c111a75843da4257e')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  cd ${pkgname}-${pkgver}
-  CFLAGS="$CFLAGS -Wno-error=cast-function-type"
-  [ -x ./configure ] || ./autogen.sh
-  ./configure --prefix=/usr
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DENABLE_STATIC=OFF
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2018-09-22 Thread Kyle Keen via arch-commits
Date: Saturday, September 22, 2018 @ 15:33:02
  Author: kkeen
Revision: 384156

upgpkg: bzrtp 1.0.6-3 mbedtls rebuild

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-22 15:22:55 UTC (rev 384155)
+++ PKGBUILD2018-09-22 15:33:02 UTC (rev 384156)
@@ -3,7 +3,7 @@
 
 pkgname=bzrtp
 pkgver=1.0.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('x86_64')
 url="https://github.com/BelledonneCommunications/bzrtp;
@@ -16,6 +16,7 @@
 
 build() {
   cd ${pkgname}-${pkgver}
+  CFLAGS="$CFLAGS -Wno-error=cast-function-type"
   [ -x ./configure ] || ./autogen.sh
   ./configure --prefix=/usr
   make


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2018-02-07 Thread Kyle Keen via arch-commits
Date: Wednesday, February 7, 2018 @ 23:59:42
  Author: kkeen
Revision: 290120

upgpkg: bzrtp 1.0.6-2  mbedtls 2.7.0 rebuild

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-07 23:57:48 UTC (rev 290119)
+++ PKGBUILD2018-02-07 23:59:42 UTC (rev 290120)
@@ -4,7 +4,7 @@
 
 pkgname=bzrtp
 pkgver=1.0.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('x86_64')
 url="https://github.com/BelledonneCommunications/bzrtp;


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2017-10-02 Thread Sergej Pupykin
Date: Monday, October 2, 2017 @ 09:21:51
  Author: spupykin
Revision: 261231

upgpkg: bzrtp 1.0.6-1

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-02 09:21:43 UTC (rev 261230)
+++ PKGBUILD2017-10-02 09:21:51 UTC (rev 261231)
@@ -3,7 +3,7 @@
 # Contributor: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=1.0.5
+pkgver=1.0.6
 pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@
 makedepends=('bcunit')
 validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-sha256sums=('13fdb99b7b6060965a36cd4a87168a2d07fb9bd4c559b867a03db966cf557fea')
+sha256sums=('d551cf45372a180319fd93d7b59823ccff169dc41f67a777932c83def8019260')
 
 build() {
   cd ${pkgname}-${pkgver}


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2017-03-16 Thread Sergej Pupykin
Date: Thursday, March 16, 2017 @ 11:28:48
  Author: spupykin
Revision: 216703

upgpkg: bzrtp 1.0.5-1

upd

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-16 11:28:43 UTC (rev 216702)
+++ PKGBUILD2017-03-16 11:28:48 UTC (rev 216703)
@@ -3,18 +3,17 @@
 # Contributor: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=1.0.4
-pkgrel=3
+pkgver=1.0.5
+pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('i686' 'x86_64')
-url="http://www.linphone.org/;
+url="https://github.com/BelledonneCommunications/bzrtp;
 license=('GPL2')
 depends=('libxml2' 'mbedtls' 'bctoolbox')
 makedepends=('bcunit')
 validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-#source=("http://download.savannah.gnu.org/releases/linphone/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)
-md5sums=('0f36322012dd6cc248aa356555744a8e')
+sha256sums=('13fdb99b7b6060965a36cd4a87168a2d07fb9bd4c559b867a03db966cf557fea')
 
 build() {
   cd ${pkgname}-${pkgver}


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2016-12-23 Thread Sergej Pupykin
Date: Friday, December 23, 2016 @ 13:31:11
  Author: spupykin
Revision: 201250

upgpkg: bzrtp 1.0.4-3

upd

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-23 13:31:06 UTC (rev 201249)
+++ PKGBUILD2016-12-23 13:31:11 UTC (rev 201250)
@@ -4,13 +4,13 @@
 
 pkgname=bzrtp
 pkgver=1.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('i686' 'x86_64')
 url="http://www.linphone.org/;
 license=('GPL2')
 depends=('libxml2' 'mbedtls' 'bctoolbox')
-makedepends=('cunit')
+makedepends=('bcunit')
 validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
 
#source=("http://download.savannah.gnu.org/releases/linphone/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bzrtp/archive/$pkgver.tar.gz;)


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2016-12-08 Thread Sergej Pupykin
Date: Thursday, December 8, 2016 @ 15:31:50
  Author: spupykin
Revision: 198467

upgpkg: bzrtp 1.0.4-2

upd

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-08 15:18:01 UTC (rev 198466)
+++ PKGBUILD2016-12-08 15:31:50 UTC (rev 198467)
@@ -4,7 +4,7 @@
 
 pkgname=bzrtp
 pkgver=1.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('i686' 'x86_64')
 url="http://www.linphone.org/;


[arch-commits] Commit in bzrtp/trunk (PKGBUILD mbedtls2.patch)

2015-11-03 Thread Sergej Pupykin
Date: Tuesday, November 3, 2015 @ 16:51:34
  Author: spupykin
Revision: 145842

upgpkg: bzrtp 1.0.3-1

upd

Modified:
  bzrtp/trunk/PKGBUILD
  bzrtp/trunk/mbedtls2.patch

+
 PKGBUILD   |8 
 mbedtls2.patch |   43 +--
 2 files changed, 21 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-11-03 15:51:31 UTC (rev 145841)
+++ PKGBUILD2015-11-03 15:51:34 UTC (rev 145842)
@@ -3,8 +3,8 @@
 # Contributor: Antonio Rojas 
 
 pkgname=bzrtp
-pkgver=1.0.2
-pkgrel=3
+pkgver=1.0.3
+pkgrel=1
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('i686' 'x86_64')
 url="http://www.linphone.org/;
@@ -13,9 +13,9 @@
 validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
 
source=("http://download.savannah.gnu.org/releases/linphone/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
mbedtls2.patch)
-md5sums=('b52fa670fb319022166cb10d641da4e6'
+md5sums=('0d0c694e114d85420d351b94f0e9d867'
  'SKIP'
- 'a5c77d9bcfda0aed17572a32b4cab69d')
+ '5d181d8b367a4bb50a49222f00cb6751')
 
 prepare() {
   cd ${pkgname}-${pkgver}

Modified: mbedtls2.patch
===
--- mbedtls2.patch  2015-11-03 15:51:31 UTC (rev 145841)
+++ mbedtls2.patch  2015-11-03 15:51:34 UTC (rev 145842)
@@ -1,30 +1,21 @@
-diff -wbBur bzrtp-1.0.2/configure bzrtp-1.0.2,my/configure
 bzrtp-1.0.2/configure  2015-05-07 18:49:06.0 +0300
-+++ bzrtp-1.0.2,my/configure   2015-09-21 22:13:24.471826101 +0300
-@@ -12488,7 +12488,7 @@
-   POLARSSL_LIBS="-L${polarssl_prefix}/lib"
- fi
+diff -wbBur bzrtp-1.0.3/configure.ac bzrtp-1.0.3.my/configure.ac
+--- bzrtp-1.0.3/configure.ac   2015-11-02 16:41:21.0 +0300
 bzrtp-1.0.3.my/configure.ac2015-11-03 18:28:22.098298959 +0300
+@@ -44,9 +44,9 @@
  
--POLARSSL_LIBS="$POLARSSL_LIBS -lpolarssl"
-+POLARSSL_LIBS="$POLARSSL_LIBS -lmbedtls"
- 
- 
- 
-diff -wbBur bzrtp-1.0.2/configure.ac bzrtp-1.0.2,my/configure.ac
 bzrtp-1.0.2/configure.ac   2015-05-07 18:45:29.0 +0300
-+++ bzrtp-1.0.2,my/configure.ac2015-09-21 22:13:00.985159704 +0300
-@@ -42,7 +42,7 @@
-   POLARSSL_LIBS="-L${polarssl_prefix}/lib"
- fi
- 
--POLARSSL_LIBS="$POLARSSL_LIBS -lpolarssl"
-+POLARSSL_LIBS="$POLARSSL_LIBS -lmbedtls"
- 
- AC_SUBST(POLARSSL_LIBS)
- AC_SUBST(POLARSSL_CFLAGS)
-diff -wbBur bzrtp-1.0.2/src/cryptoPolarssl.c 
bzrtp-1.0.2,my/src/cryptoPolarssl.c
 bzrtp-1.0.2/src/cryptoPolarssl.c   2015-05-07 18:14:36.0 +0300
-+++ bzrtp-1.0.2,my/src/cryptoPolarssl.c2015-09-21 22:21:04.521820813 
+0300
+ LIBS_save=$LIBS
+ LIBS="$LIBS $POLARSSL_LIBS"
+-AC_CHECK_LIB(mbedtls, ssl_init , [POLARSSL_LIBS="$POLARSSL_LIBS -lmbedtls"],
++AC_CHECK_LIB(mbedtls, mbedtls_ssl_init , [POLARSSL_LIBS="$POLARSSL_LIBS 
-lmbedtls"],
+   [
+-  AC_CHECK_LIB(polarssl, ssl_init, 
[POLARSSL_LIBS="$POLARSSL_LIBS -lpolarssl"],
++  AC_CHECK_LIB(polarssl, 
mbedtls_ssl_init, [POLARSSL_LIBS="$POLARSSL_LIBS -lmbedtls"],
+   [ AC_MSG_ERROR([Polarssl or mbedTLS 
library not found]) ]
+   )
+   ])
+diff -wbBur bzrtp-1.0.3/src/cryptoPolarssl.c 
bzrtp-1.0.3.my/src/cryptoPolarssl.c
+--- bzrtp-1.0.3/src/cryptoPolarssl.c   2015-11-02 16:41:21.0 +0300
 bzrtp-1.0.3.my/src/cryptoPolarssl.c2015-11-03 18:23:56.821626356 
+0300
 @@ -25,17 +25,18 @@
  #include 
  


[arch-commits] Commit in bzrtp/trunk (PKGBUILD mbedtls2.patch)

2015-09-21 Thread Sergej Pupykin
Date: Monday, September 21, 2015 @ 21:25:19
  Author: spupykin
Revision: 141403

Modified:
  bzrtp/trunk/PKGBUILD
  bzrtp/trunk/mbedtls2.patch

+
 PKGBUILD   |2 +-
 mbedtls2.patch |   52 ++--
 2 files changed, 43 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-21 19:25:07 UTC (rev 141402)
+++ PKGBUILD2015-09-21 19:25:19 UTC (rev 141403)
@@ -15,7 +15,7 @@
mbedtls2.patch)
 md5sums=('b52fa670fb319022166cb10d641da4e6'
  'SKIP'
- 'a644dda812e1535523068e42e6882a0b')
+ 'a5c77d9bcfda0aed17572a32b4cab69d')
 
 prepare() {
   cd ${pkgname}-${pkgver}

Modified: mbedtls2.patch
===
--- mbedtls2.patch  2015-09-21 19:25:07 UTC (rev 141402)
+++ mbedtls2.patch  2015-09-21 19:25:19 UTC (rev 141403)
@@ -1,6 +1,18 @@
-diff -wbBur bzrtp-1.0.2.org/configure.ac bzrtp-1.0.2/configure.ac
 bzrtp-1.0.2.org/configure.ac   2015-05-07 18:45:29.0 +0300
-+++ bzrtp-1.0.2/configure.ac   2015-07-30 15:19:26.965083810 +0300
+diff -wbBur bzrtp-1.0.2/configure bzrtp-1.0.2,my/configure
+--- bzrtp-1.0.2/configure  2015-05-07 18:49:06.0 +0300
 bzrtp-1.0.2,my/configure   2015-09-21 22:13:24.471826101 +0300
+@@ -12488,7 +12488,7 @@
+   POLARSSL_LIBS="-L${polarssl_prefix}/lib"
+ fi
+ 
+-POLARSSL_LIBS="$POLARSSL_LIBS -lpolarssl"
++POLARSSL_LIBS="$POLARSSL_LIBS -lmbedtls"
+ 
+ 
+ 
+diff -wbBur bzrtp-1.0.2/configure.ac bzrtp-1.0.2,my/configure.ac
+--- bzrtp-1.0.2/configure.ac   2015-05-07 18:45:29.0 +0300
 bzrtp-1.0.2,my/configure.ac2015-09-21 22:13:00.985159704 +0300
 @@ -42,7 +42,7 @@
POLARSSL_LIBS="-L${polarssl_prefix}/lib"
  fi
@@ -10,9 +22,9 @@
  
  AC_SUBST(POLARSSL_LIBS)
  AC_SUBST(POLARSSL_CFLAGS)
-diff -wbBur bzrtp-1.0.2.org/src/cryptoPolarssl.c 
bzrtp-1.0.2/src/cryptoPolarssl.c
 bzrtp-1.0.2.org/src/cryptoPolarssl.c   2015-05-07 18:14:36.0 
+0300
-+++ bzrtp-1.0.2/src/cryptoPolarssl.c   2015-07-30 15:18:40.811751008 +0300
+diff -wbBur bzrtp-1.0.2/src/cryptoPolarssl.c 
bzrtp-1.0.2,my/src/cryptoPolarssl.c
+--- bzrtp-1.0.2/src/cryptoPolarssl.c   2015-05-07 18:14:36.0 +0300
 bzrtp-1.0.2,my/src/cryptoPolarssl.c2015-09-21 22:21:04.521820813 
+0300
 @@ -25,17 +25,18 @@
  #include 
  
@@ -25,7 +37,7 @@
  
  /* Hash function sha1(sha2 is different for polarssl v1.2 and v1.3 ) */
 -#include "polarssl/sha1.h"
-+#include "mbedtls/sha1.h"
++#include "mbedtls/md.h"
  
  /* Asymmetrics encryption */
 -#include "polarssl/dhm.h"
@@ -47,7 +59,17 @@
return NULL;
}
  
-@@ -396,11 +398,11 @@
+@@ -183,7 +185,8 @@
+   uint8_t *output)
+ {
+   uint8_t hmacOutput[20];
+-  sha1_hmac(key, keyLength, input, inputLength, hmacOutput);
++  const mbedtls_md_info_t *mdinfo = 
mbedtls_md_info_from_type(MBEDTLS_MD_SHA1);
++  mbedtls_md_hmac(mdinfo, key, keyLength, input, inputLength, hmacOutput);
+ 
+   /* check output length, can't be>20 */
+   if (hmacLength>20) {
+@@ -396,11 +399,11 @@
  /*** End of code common to polarSSL version 1.2 and 1.3 ***/
  
  /* check polarssl version */
@@ -61,7 +83,17 @@
  
  /*
   * @brief SHA256 wrapper
-@@ -464,7 +466,7 @@
+@@ -444,7 +447,8 @@
+   uint8_t *output)
+ {
+   uint8_t hmacOutput[32];
+-  sha256_hmac(key, keyLength, input, inputLength, hmacOutput, 0); /* last 
param to zero to select SHA256 and not SHA224 */
++  const mbedtls_md_info_t *mdinfo = 
mbedtls_md_info_from_type(MBEDTLS_MD_SHA256);
++  mbedtls_md_hmac(mdinfo, key, keyLength, input, inputLength, hmacOutput);
+ 
+   /* check output length, can't be>32 */
+   if (hmacLength>32) {
+@@ -464,7 +468,7 @@
/* compute the secret key */
keyLength = context->primeLength; /* undocumented but this value seems 
to be in/out, so we must set it to the expected key length */
context->key = (uint8_t *)malloc(keyLength*sizeof(uint8_t)); /* 
allocate key buffer */
@@ -70,7 +102,7 @@
  }
  
  
-@@ -472,7 +474,7 @@
+@@ -472,7 +476,7 @@
  #else /* POLAR SSL VERSION 1.2 */
  
  /* Hashs */


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2015-09-21 Thread Sergej Pupykin
Date: Monday, September 21, 2015 @ 23:15:36
  Author: spupykin
Revision: 141412

upgpkg: bzrtp 1.0.2-3

upd

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-21 20:12:20 UTC (rev 141411)
+++ PKGBUILD2015-09-21 21:15:36 UTC (rev 141412)
@@ -4,7 +4,7 @@
 
 pkgname=bzrtp
 pkgver=1.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('i686' 'x86_64')
 url="http://www.linphone.org/;


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2015-09-19 Thread Kyle Keen
Date: Sunday, September 20, 2015 @ 05:09:05
  Author: kkeen
Revision: 141135

upgpkg: bzrtp 1.0.2-2  mbedtls rebuild

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-20 03:05:42 UTC (rev 141134)
+++ PKGBUILD2015-09-20 03:09:05 UTC (rev 141135)
@@ -4,7 +4,7 @@
 
 pkgname=bzrtp
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
 arch=('i686' 'x86_64')
 url="http://www.linphone.org/;


[arch-commits] Commit in bzrtp/trunk (PKGBUILD mbedtls2.patch)

2015-07-30 Thread Sergej Pupykin
Date: Thursday, July 30, 2015 @ 14:23:38
  Author: spupykin
Revision: 137626

upgpkg: bzrtp 1.0.2-1

upd

Added:
  bzrtp/trunk/mbedtls2.patch
Modified:
  bzrtp/trunk/PKGBUILD

+
 PKGBUILD   |   19 
 mbedtls2.patch |   81 +++
 2 files changed, 94 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-30 11:55:30 UTC (rev 137625)
+++ PKGBUILD2015-07-30 12:23:38 UTC (rev 137626)
@@ -3,21 +3,28 @@
 # Contributor: Antonio Rojas aro...@archlinux.org
 
 pkgname=bzrtp
-pkgver=1.0.1
-pkgrel=2
+pkgver=1.0.2
+pkgrel=1
 pkgdesc=Opensource implementation of ZRTP keys exchange protocol
 arch=('i686' 'x86_64')
 url=http://www.linphone.org/;
 license=('GPL2')
 depends=('libxml2' 'mbedtls')
-source=(http://download.savannah.gnu.org/releases/linphone/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
-sha1sums=('0166809a8f86e8a59516e5f1d7f6889bfd60ce2c'
-  'SKIP')
 validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+source=(http://download.savannah.gnu.org/releases/linphone/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}
+   mbedtls2.patch)
+md5sums=('b52fa670fb319022166cb10d641da4e6'
+ 'SKIP'
+ 'a644dda812e1535523068e42e6882a0b')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 $srcdir/mbedtls2.patch
+  autoreconf
+}
+
 build() {
   cd ${pkgname}-${pkgver}
-
   ./configure --prefix=/usr
   make
 }

Added: mbedtls2.patch
===
--- mbedtls2.patch  (rev 0)
+++ mbedtls2.patch  2015-07-30 12:23:38 UTC (rev 137626)
@@ -0,0 +1,81 @@
+diff -wbBur bzrtp-1.0.2.org/configure.ac bzrtp-1.0.2/configure.ac
+--- bzrtp-1.0.2.org/configure.ac   2015-05-07 18:45:29.0 +0300
 bzrtp-1.0.2/configure.ac   2015-07-30 15:19:26.965083810 +0300
+@@ -42,7 +42,7 @@
+   POLARSSL_LIBS=-L${polarssl_prefix}/lib
+ fi
+ 
+-POLARSSL_LIBS=$POLARSSL_LIBS -lpolarssl
++POLARSSL_LIBS=$POLARSSL_LIBS -lmbedtls
+ 
+ AC_SUBST(POLARSSL_LIBS)
+ AC_SUBST(POLARSSL_CFLAGS)
+diff -wbBur bzrtp-1.0.2.org/src/cryptoPolarssl.c 
bzrtp-1.0.2/src/cryptoPolarssl.c
+--- bzrtp-1.0.2.org/src/cryptoPolarssl.c   2015-05-07 18:14:36.0 
+0300
 bzrtp-1.0.2/src/cryptoPolarssl.c   2015-07-30 15:18:40.811751008 +0300
+@@ -25,17 +25,18 @@
+ #include string.h
+ 
+ /* Random number generator */
+-#include polarssl/entropy.h
+-#include polarssl/ctr_drbg.h
++#include mbedtls/compat-1.3.h
++#include mbedtls/entropy.h
++#include mbedtls/ctr_drbg.h
+ 
+ /* Hash function sha1(sha2 is different for polarssl v1.2 and v1.3 ) */
+-#include polarssl/sha1.h
++#include mbedtls/sha1.h
+ 
+ /* Asymmetrics encryption */
+-#include polarssl/dhm.h
++#include mbedtls/dhm.h
+ 
+ /* Symmetric encryption */
+-#include polarssl/aes.h
++#include mbedtls/aes.h
+ 
+ #include cryptoWrapper.h
+ 
+@@ -133,7 +134,8 @@
+   
+   entropy_init((polarsslContext-entropyContext)); /* init the polarssl 
entropy engine */
+   /* init the polarssl rng context */
+-  if (ctr_drbg_init((polarsslContext-rngContext), entropy_func, 
(polarsslContext-entropyContext), (const unsigned char *)entropyString, 
entropyStringLength) != 0) {
++  ctr_drbg_init((polarsslContext-rngContext));
++  if (mbedtls_ctr_drbg_seed((polarsslContext-rngContext), entropy_func, 
(polarsslContext-entropyContext), (const unsigned char *)entropyString, 
entropyStringLength) != 0) {
+   return NULL;
+   }
+ 
+@@ -396,11 +398,11 @@
+ /*** End of code common to polarSSL version 1.2 and 1.3 ***/
+ 
+ /* check polarssl version */
+-#include polarssl/version.h
++#include mbedtls/version.h
+ #if POLARSSL_VERSION_NUMBER = 0x0103 /* for Polarssl version 1.3 */
+ 
+ /* Hashs */
+-#include polarssl/sha256.h
++#include mbedtls/sha256.h
+ 
+ /*
+  * @brief SHA256 wrapper
+@@ -464,7 +466,7 @@
+   /* compute the secret key */
+   keyLength = context-primeLength; /* undocumented but this value seems 
to be in/out, so we must set it to the expected key length */
+   context-key = (uint8_t *)malloc(keyLength*sizeof(uint8_t)); /* 
allocate key buffer */
+-  dhm_calc_secret((dhm_context *)(context-cryptoModuleData), 
context-key, keyLength, (int (*)(void *, unsigned char *, 
size_t))rngFunction, rngContext);
++  dhm_calc_secret((dhm_context *)(context-cryptoModuleData), 
context-key, keyLength, keyLength, (int (*)(void *, unsigned char *, 
size_t))rngFunction, rngContext);
+ }
+ 
+ 
+@@ -472,7 +474,7 @@
+ #else /* POLAR SSL VERSION 1.2 */
+ 
+ /* Hashs */
+-#include polarssl/sha2.h
++#include mbedtls/sha2.h
+ 
+ /*
+  * @brief SHA256 wrapper


[arch-commits] Commit in bzrtp/trunk (PKGBUILD)

2015-06-15 Thread Sergej Pupykin
Date: Monday, June 15, 2015 @ 15:57:06
  Author: spupykin
Revision: 135416

upgpkg: bzrtp 1.0.1-2

upd

Modified:
  bzrtp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-15 13:57:02 UTC (rev 135415)
+++ PKGBUILD2015-06-15 13:57:06 UTC (rev 135416)
@@ -4,7 +4,7 @@
 
 pkgname=bzrtp
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc=Opensource implementation of ZRTP keys exchange protocol
 arch=('i686' 'x86_64')
 url=http://www.linphone.org/;