Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (284989948e7342bbcf44ccf957a30dfce68624c5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (284989948e7342bbcf44ccf957a30dfce68624c5)
  • Date: Wed, 19 Oct 2011 03:42:12 -0500

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

crypto/gnutls/DEPENDS | 4 ++++
crypto/gnutls/DETAILS | 5 +++++
crypto/gnutls/HISTORY | 5 +++++
crypto/gnutls/PREPARE | 2 +-
ftp/curl/HISTORY | 3 +++
ftp/curl/PRE_BUILD | 3 +++
ftp/curl/gtls.patch | 14 ++++++++++++++
7 files changed, 35 insertions(+), 1 deletion(-)

New commits:
commit 284989948e7342bbcf44ccf957a30dfce68624c5
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

gnutls: => 3.0.4

commit df0abac3c35c25ae04f06cc5c5019006f88a8272
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

curl - fix build with gnutls-3

diff --git a/crypto/gnutls/DEPENDS b/crypto/gnutls/DEPENDS
index cc90c3e..41d38c6 100755
--- a/crypto/gnutls/DEPENDS
+++ b/crypto/gnutls/DEPENDS
@@ -1,5 +1,9 @@
depends libgcrypt "--with-libgcrypt" &&

+if [[ $GNUTLS_BRANCH == "3.0" ]];then
+ depends LZMA &&
+ depends nettle
+fi &&
optional_depends "zlib" \
"--with-zlib" \
"--without-zlib" \
diff --git a/crypto/gnutls/DETAILS b/crypto/gnutls/DETAILS
index 33080c1..100024d 100755
--- a/crypto/gnutls/DETAILS
+++ b/crypto/gnutls/DETAILS
@@ -74,6 +74,11 @@ case $GNUTLS_BRANCH in
SOURCE=$SPELL-$VERSION.tar.bz2

SOURCE_HASH=sha512:625d741bd728ee5c6d8a504c5421ab433175b4a8423e00f6affe512eefbb6cbba18a3e4b2ee431a6da42fd63b894c4ce137de072e7e7bbdf89b8060065867e8c
;;
+ 3.0)
+ VERSION=3.0.4
+ SOURCE=$SPELL-$VERSION.tar.xz
+
SOURCE_HASH=sha512:438e2e921e77910369148ef1bde4faa0ad918e76b309d91aec803af652120ce9e45f9e87ab1b6a945c79ed0b7de693f51c06400b04376470bdb8b14531eb382b
+ ;;
esac


diff --git a/crypto/gnutls/HISTORY b/crypto/gnutls/HISTORY
index 530cc28..71ed09d 100644
--- a/crypto/gnutls/HISTORY
+++ b/crypto/gnutls/HISTORY
@@ -1,3 +1,8 @@
+2011-10-29 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: 3.0.4
+ * PREPARE: add 3.0 branch (new stable)
+ * DEPENDS: add LZMA, nettle for 3.0 branch
+
2011-10-14 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: fixed long description wrap (scripted)

diff --git a/crypto/gnutls/PREPARE b/crypto/gnutls/PREPARE
index 66848fc..d26b8a4 100755
--- a/crypto/gnutls/PREPARE
+++ b/crypto/gnutls/PREPARE
@@ -13,4 +13,4 @@ if [ "$GNUTLS_OLD" == "n" ]; then
persistent_remove GNUTLS_OLD
fi

-config_query_list GNUTLS_BRANCH "Which branch of GnuTLS do you want to
build?" DEFAULT 1.0 1.2 1.4 1.6 2.0 2.2 2.4 2.6 2.8 2.10 2.12
+config_query_list GNUTLS_BRANCH "Which branch of GnuTLS do you want to
build?" DEFAULT 1.0 1.2 1.4 1.6 2.0 2.2 2.4 2.6 2.8 2.10 2.12 3.0
diff --git a/ftp/curl/HISTORY b/ftp/curl/HISTORY
index b74b860..b4c9025 100644
--- a/ftp/curl/HISTORY
+++ b/ftp/curl/HISTORY
@@ -1,3 +1,6 @@
+2011-10-19 Treeve Jelbert <treeve AT sourcemage.org>
+ * PRE_BUILD, gtls.patch: add upstream path for gnutls-3.x
+
2011-09-14 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 7.22.0

diff --git a/ftp/curl/PRE_BUILD b/ftp/curl/PRE_BUILD
new file mode 100755
index 0000000..2b3766c
--- /dev/null
+++ b/ftp/curl/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/gtls.patch
diff --git a/ftp/curl/gtls.patch b/ftp/curl/gtls.patch
new file mode 100644
index 0000000..3fa097d
--- /dev/null
+++ b/ftp/curl/gtls.patch
@@ -0,0 +1,14 @@
+--- a/lib/gtls.c
++++ b/lib/gtls.c
+@@ -476,8 +476,10 @@ gtls_connect_step1(struct connectdata *conn,
+ gnutls_transport_set_push_function(session, Curl_gtls_push);
+ gnutls_transport_set_pull_function(session, Curl_gtls_pull);
+
++#if GNUTLS_VERSION_NUMBER < 0x020c00
+ /* lowat must be set to zero when using custom push and pull functions. */
+ gnutls_transport_set_lowat(session, 0);
++#endif
+
+ /* This might be a reconnect, so we check for a session ID in the cache
+ to speed up things */
+



  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (284989948e7342bbcf44ccf957a30dfce68624c5), Treeve Jelbert, 10/19/2011

Archive powered by MHonArc 2.6.24.

Top of Page