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

Sergej Pupykin spupykin at archlinux.org
Thu Apr 16 13:01:49 UTC 2015


    Date: Thursday, April 16, 2015 @ 15:01:48
  Author: spupykin
Revision: 131472

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  net6/repos/community-staging-i686/
  net6/repos/community-staging-i686/PKGBUILD
    (from rev 131471, net6/trunk/PKGBUILD)
  net6/repos/community-staging-i686/gnutls.patch
    (from rev 131471, net6/trunk/gnutls.patch)
  net6/repos/community-staging-x86_64/
  net6/repos/community-staging-x86_64/PKGBUILD
    (from rev 131471, net6/trunk/PKGBUILD)
  net6/repos/community-staging-x86_64/gnutls.patch
    (from rev 131471, net6/trunk/gnutls.patch)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   34 ++++++++++++++++++++++++++++++++
 community-staging-i686/gnutls.patch   |   16 +++++++++++++++
 community-staging-x86_64/PKGBUILD     |   34 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/gnutls.patch |   16 +++++++++++++++
 4 files changed, 100 insertions(+)

Copied: net6/repos/community-staging-i686/PKGBUILD (from rev 131471, net6/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-04-16 13:01:48 UTC (rev 131472)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+
+pkgname=net6
+pkgver=1.3.14
+pkgrel=3
+pkgdesc="A library that provides a TCP protocol abstraction for C++"
+arch=('i686' 'x86_64')
+url="http://gobby.0x539.de/"
+license=('LGPL')
+depends=('gnutls' 'libsigc++2.0')
+source=(http://releases.0x539.de/$pkgname/$pkgname-$pkgver.tar.gz
+	gnutls.patch)
+md5sums=('be6db739f71c5c08421bf6181e77f3b2'
+         '1078edb16b53a844b47ecb482a33c604')
+
+prepare() {
+  cd ${srcdir}/$pkgname-$pkgver
+  patch -p1 <$srcdir/gnutls.patch
+}
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+}

Copied: net6/repos/community-staging-i686/gnutls.patch (from rev 131471, net6/trunk/gnutls.patch)
===================================================================
--- community-staging-i686/gnutls.patch	                        (rev 0)
+++ community-staging-i686/gnutls.patch	2015-04-16 13:01:48 UTC (rev 131472)
@@ -0,0 +1,16 @@
+diff -wbBur net6-1.3.14.org/src/encrypt.cpp net6-1.3.14/src/encrypt.cpp
+--- net6-1.3.14.org/src/encrypt.cpp	2011-09-28 15:15:10.000000000 +0400
++++ net6-1.3.14/src/encrypt.cpp	2015-04-16 15:57:01.623936848 +0300
+@@ -175,10 +175,10 @@
+                                   gnutls_session_t sess):
+ 	tcp_client_socket(cobj), session(sess), state(DEFAULT)
+ {
+-	const int kx_prio[] = { GNUTLS_KX_ANON_DH, 0 };
++	const char kx_prio[] = { GNUTLS_KX_ANON_DH, 0 };
+ 
+ 	gnutls_set_default_priority(session);
+-	gnutls_kx_set_priority(session, kx_prio);
++	gnutls_priority_set_direct(session, kx_prio, NULL);
+ 
+ 	gnutls_transport_set_ptr(
+ 		session,

Copied: net6/repos/community-staging-x86_64/PKGBUILD (from rev 131471, net6/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-04-16 13:01:48 UTC (rev 131472)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+
+pkgname=net6
+pkgver=1.3.14
+pkgrel=3
+pkgdesc="A library that provides a TCP protocol abstraction for C++"
+arch=('i686' 'x86_64')
+url="http://gobby.0x539.de/"
+license=('LGPL')
+depends=('gnutls' 'libsigc++2.0')
+source=(http://releases.0x539.de/$pkgname/$pkgname-$pkgver.tar.gz
+	gnutls.patch)
+md5sums=('be6db739f71c5c08421bf6181e77f3b2'
+         '1078edb16b53a844b47ecb482a33c604')
+
+prepare() {
+  cd ${srcdir}/$pkgname-$pkgver
+  patch -p1 <$srcdir/gnutls.patch
+}
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+}

Copied: net6/repos/community-staging-x86_64/gnutls.patch (from rev 131471, net6/trunk/gnutls.patch)
===================================================================
--- community-staging-x86_64/gnutls.patch	                        (rev 0)
+++ community-staging-x86_64/gnutls.patch	2015-04-16 13:01:48 UTC (rev 131472)
@@ -0,0 +1,16 @@
+diff -wbBur net6-1.3.14.org/src/encrypt.cpp net6-1.3.14/src/encrypt.cpp
+--- net6-1.3.14.org/src/encrypt.cpp	2011-09-28 15:15:10.000000000 +0400
++++ net6-1.3.14/src/encrypt.cpp	2015-04-16 15:57:01.623936848 +0300
+@@ -175,10 +175,10 @@
+                                   gnutls_session_t sess):
+ 	tcp_client_socket(cobj), session(sess), state(DEFAULT)
+ {
+-	const int kx_prio[] = { GNUTLS_KX_ANON_DH, 0 };
++	const char kx_prio[] = { GNUTLS_KX_ANON_DH, 0 };
+ 
+ 	gnutls_set_default_priority(session);
+-	gnutls_kx_set_priority(session, kx_prio);
++	gnutls_priority_set_direct(session, kx_prio, NULL);
+ 
+ 	gnutls_transport_set_ptr(
+ 		session,



More information about the arch-commits mailing list