Date: Sunday, December 6, 2015 @ 04:37:27 Author: allan Revision: 148802
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 148801, net6/trunk/PKGBUILD) net6/repos/community-staging-i686/gnutls.patch (from rev 148801, net6/trunk/gnutls.patch) net6/repos/community-staging-x86_64/ net6/repos/community-staging-x86_64/PKGBUILD (from rev 148801, net6/trunk/PKGBUILD) net6/repos/community-staging-x86_64/gnutls.patch (from rev 148801, net6/trunk/gnutls.patch) ---------------------------------------+ community-staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++ community-staging-i686/gnutls.patch | 15 ++++++++++++ community-staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++ community-staging-x86_64/gnutls.patch | 15 ++++++++++++ 4 files changed, 106 insertions(+) Copied: net6/repos/community-staging-i686/PKGBUILD (from rev 148801, net6/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 03:37:27 UTC (rev 148802) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: William Rea <sillywi...@gmail.com> +# Contributor: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + +pkgname=net6 +pkgver=1.3.14 +pkgrel=5 +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' + '4fb70f33b352522b46a25988668535d0') + +prepare() { + cd ${srcdir}/$pkgname-$pkgver + patch -p1 <$srcdir/gnutls.patch +} + +build() { + cd ${srcdir}/$pkgname-$pkgver + + # libsigc++ 2.6.0 (and later) uses C++11 features + CXXFLAGS+=' -std=c++11' + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + make DESTDIR=${pkgdir} install +} Copied: net6/repos/community-staging-i686/gnutls.patch (from rev 148801, net6/trunk/gnutls.patch) =================================================================== --- community-staging-i686/gnutls.patch (rev 0) +++ community-staging-i686/gnutls.patch 2015-12-06 03:37:27 UTC (rev 148802) @@ -0,0 +1,15 @@ +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,9 @@ + gnutls_session_t sess): + tcp_client_socket(cobj), session(sess), state(DEFAULT) + { +- const int kx_prio[] = { GNUTLS_KX_ANON_DH, 0 }; + + gnutls_set_default_priority(session); +- gnutls_kx_set_priority(session, kx_prio); ++ gnutls_set_default_priority(session); + + gnutls_transport_set_ptr( + session, Copied: net6/repos/community-staging-x86_64/PKGBUILD (from rev 148801, net6/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-06 03:37:27 UTC (rev 148802) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: William Rea <sillywi...@gmail.com> +# Contributor: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> + +pkgname=net6 +pkgver=1.3.14 +pkgrel=5 +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' + '4fb70f33b352522b46a25988668535d0') + +prepare() { + cd ${srcdir}/$pkgname-$pkgver + patch -p1 <$srcdir/gnutls.patch +} + +build() { + cd ${srcdir}/$pkgname-$pkgver + + # libsigc++ 2.6.0 (and later) uses C++11 features + CXXFLAGS+=' -std=c++11' + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + make DESTDIR=${pkgdir} install +} Copied: net6/repos/community-staging-x86_64/gnutls.patch (from rev 148801, net6/trunk/gnutls.patch) =================================================================== --- community-staging-x86_64/gnutls.patch (rev 0) +++ community-staging-x86_64/gnutls.patch 2015-12-06 03:37:27 UTC (rev 148802) @@ -0,0 +1,15 @@ +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,9 @@ + gnutls_session_t sess): + tcp_client_socket(cobj), session(sess), state(DEFAULT) + { +- const int kx_prio[] = { GNUTLS_KX_ANON_DH, 0 }; + + gnutls_set_default_priority(session); +- gnutls_kx_set_priority(session, kx_prio); ++ gnutls_set_default_priority(session); + + gnutls_transport_set_ptr( + session,