changeset 3033:fc427998803a draft

update package gnutls
author Mark Brand <mabrand@mabrand.nl>
date Thu, 03 Jan 2013 11:13:51 +0100
parents 88969381a4b5
children e725674e533b
files index.html src/gnutls.mk
diffstat 2 files changed, 6 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/index.html
+++ b/index.html
@@ -1193,7 +1193,7 @@
     </tr>
     <tr>
         <td id="gnutls-package">gnutls</td>
-        <td id="gnutls-version">3.1.5</td>
+        <td id="gnutls-version">3.1.6</td>
         <td id="gnutls-website"><a href="http://www.gnu.org/software/gnutls/">GnuTLS</a></td>
     </tr>
     <tr>
--- a/src/gnutls.mk
+++ b/src/gnutls.mk
@@ -2,19 +2,16 @@
 # See index.html for further information.
 
 PKG             := gnutls
-$(PKG)_CHECKSUM := 93efeab75cad6f656eae1123c10e3692db727bd5
+$(PKG)_CHECKSUM := 3c4d9fc40305895079676a6ebb01d87da810cd8d
 $(PKG)_SUBDIR   := gnutls-$($(PKG)_VERSION)
 $(PKG)_FILE     := gnutls-$($(PKG)_VERSION).tar.xz
-$(PKG)_URL      := http://ftp.gnu.org/gnu/gnutls/$($(PKG)_FILE)
+$(PKG)_URL      := ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1//$($(PKG)_FILE)
 $(PKG)_DEPS     := gcc gettext nettle pcre zlib
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tags' | \
-    grep '<a class="list name"' | \
-    $(SED) -n 's,.*<a[^>]*>gnutls_\([0-9]*_[0-9]*[012468]_[^<]*\)<.*,\1,p' | \
-    $(SED) 's,_,.,g' | \
-    grep -v '^2\.' | \
-    head -1
+    $(WGET) wget -q -O- ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/ | \
+    $(SED) -n 's,.*gnutls-\([1-9]\.[0-9].[0-9]\)\..*,\1,p' | \
+    tail -1
 endef
 
 define $(PKG)_BUILD
@@ -35,7 +32,6 @@
         --disable-nls \
         --disable-guile \
         --with-included-libtasn1 \
-        --with-included-libcfg \
         --with-libregex='$(PREFIX)/$(TARGET)' \
         --with-regex-header=pcreposix.h \
         --with-libregex-cflags="`'$(TARGET)-pkg-config' libpcreposix --cflags`" \