summaryrefslogtreecommitdiff
path: root/community/net6
diff options
context:
space:
mode:
Diffstat (limited to 'community/net6')
-rw-r--r--community/net6/PKGBUILD17
-rw-r--r--community/net6/build-fix.patch33
2 files changed, 9 insertions, 41 deletions
diff --git a/community/net6/PKGBUILD b/community/net6/PKGBUILD
index e748926d9..f02498291 100644
--- a/community/net6/PKGBUILD
+++ b/community/net6/PKGBUILD
@@ -1,27 +1,28 @@
-# $Id: PKGBUILD 66249 2012-02-23 05:21:03Z spupykin $
+# $Id: PKGBUILD 89936 2013-05-05 21:30:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=net6
-pkgver=1.3.12
-pkgrel=3
+pkgver=1.3.14
+pkgrel=1
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')
options=('!libtool')
-source=(http://releases.0x539.de/$pkgname/$pkgname-$pkgver.tar.gz
- build-fix.patch)
-md5sums=('506776416d8aea2b9ea13a81f9145383'
- 'a200e6f132839782e3e5cfdf438e79d3')
+source=(http://releases.0x539.de/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('be6db739f71c5c08421bf6181e77f3b2')
build() {
cd ${srcdir}/$pkgname-$pkgver
- patch -p1 <$srcdir/build-fix.patch
./configure --prefix=/usr
make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}
diff --git a/community/net6/build-fix.patch b/community/net6/build-fix.patch
deleted file mode 100644
index cfe79afeb..000000000
--- a/community/net6/build-fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -wbBur net6-1.3.12/inc/encrypt.hpp net6-1.3.12.my/inc/encrypt.hpp
---- net6-1.3.12/inc/encrypt.hpp 2009-11-15 16:02:46.000000000 +0300
-+++ net6-1.3.12.my/inc/encrypt.hpp 2011-11-21 16:39:32.000000000 +0400
-@@ -34,7 +34,7 @@
- typedef gnutls_anon_server_credentials gnutls_anon_server_credentials_t;
- typedef gnutls_transport_ptr gnutls_transport_ptr_t;
- typedef gnutls_dh_params gnutls_dh_params_t;
--typedef gnutls_connection_end gnutls_connection_end_t;
-+//typedef gnutls_connection_end gnutls_connection_end_t;
-
- class dh_params: private net6::non_copyable
- {
-diff -wbBur net6-1.3.12/src/encrypt.cpp net6-1.3.12.my/src/encrypt.cpp
---- net6-1.3.12/src/encrypt.cpp 2009-11-15 16:02:46.000000000 +0300
-+++ net6-1.3.12.my/src/encrypt.cpp 2011-11-21 16:39:49.000000000 +0400
-@@ -25,7 +25,7 @@
- {
- const unsigned int DH_BITS = 1024;
-
-- net6::gnutls_session_t create_session(net6::gnutls_connection_end_t end)
-+ net6::gnutls_session_t create_session(gnutls_connection_end_t end)
- {
- net6::gnutls_session_t session;
- gnutls_init(&session, end);
-@@ -201,8 +201,6 @@
- net6_unix_send_func
- );
- #endif
--
-- gnutls_transport_set_lowat(session, 0);
- }
-
- net6::tcp_encrypted_socket_base::~tcp_encrypted_socket_base()