include $(TOPDIR)/rules.mk
PKG_NAME:=gnutls
-PKG_VERSION:=2.6.4
+PKG_VERSION:=2.8.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNU/gnutls \
ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
-PKG_MD5SUM:=747111ab0d86e7b06a4bb120ba456ad8
+PKG_MD5SUM:=
PKG_FIXUP = libtool
$(call Package/gnutls/Default)
TITLE+= (library)
DEPENDS+= +zlib +libgcrypt +libgpg-error
+ SUBMENU:=SSL
endef
define Package/libgnutls/description
$(call Package/gnutls/Default)
TITLE+= (extra library)
DEPENDS+= +libgnutls
+ SUBMENU:=SSL
endef
define Package/libgnutls-extra/description
$(call Package/gnutls/Default)
TITLE+= (OpenSSL compat library)
DEPENDS+= +libgnutls
+ SUBMENU:=SSL
endef
define Package/libgnutls-openssl/description
endef
define Build/InstallDev
- mkdir -p $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgnutls{,-extra}-config $(2)/bin/
+ mkdir -p $(1)/usr/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/include/gnutls $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnutls{,-extra,-openssl}.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gnutls{,-extra}.pc $(1)/usr/lib/pkgconfig/
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -573,7 +573,7 @@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
--SUBDIRS = lgl gl includes lib libextra src doc tests po \
-+SUBDIRS = lgl gl includes lib libextra src \
- $(am__append_1)
- ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I lgl/m4
- EXTRA_DIST = cfg.mk maint.mk .clcopying
+Index: gnutls-2.8.5/Makefile.in
+===================================================================
+--- gnutls-2.8.5.orig/Makefile.in 2009-11-02 11:36:03.000000000 +0100
++++ gnutls-2.8.5/Makefile.in 2009-11-28 00:12:19.000000000 +0100
+@@ -147,7 +147,7 @@
+ distdir dist dist-all distcheck
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = lib libextra gl src doc tests guile
++DIST_SUBDIRS = lib libextra gl src guile
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)