[csw-devel] SF.net SVN: gar:[21039] csw/mgar/pkg/gnutls3/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri May 10 12:24:11 CEST 2013


Revision: 21039
          http://gar.svn.sourceforge.net/gar/?rev=21039&view=rev
Author:   dmichelsen
Date:     2013-05-10 10:24:08 +0000 (Fri, 10 May 2013)
Log Message:
-----------
gnutls3/trunk: Fixes

Modified Paths:
--------------
    csw/mgar/pkg/gnutls3/trunk/Makefile
    csw/mgar/pkg/gnutls3/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/gnutls3/trunk/files/0002-Use-AF_UNIX-instead-of-AF_LOCAL-on-Solaris.patch

Modified: csw/mgar/pkg/gnutls3/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gnutls3/trunk/Makefile	2013-05-10 09:53:05 UTC (rev 21038)
+++ csw/mgar/pkg/gnutls3/trunk/Makefile	2013-05-10 10:24:08 UTC (rev 21039)
@@ -1,5 +1,5 @@
 NAME = gnutls
-VERSION = 3.1.3
+VERSION = 3.1.10
 
 DESCRIPTION = GNU Transport Layer Security libraries and tools
 define BLURB
@@ -8,12 +8,17 @@
   library implements the proposed standards by the IETF's TLS working group.
 endef
 
-MASTER_SITES = $(GNU_MIRROR)
-DISTFILES  = $(DISTNAME).tar.xz
+SUBV = $(shell echo $(VERSION) | awk -F. '{print $$1"."$$2}')
+MASTER_SITES = ftp://ftp.gnutls.org/gcrypt/gnutls/v$(SUBV)/
+DISTFILES += $(DISTNAME).tar.xz
 # PATCHFILES += 0001-Do-not-strip-norunpath.patch
+#PATCHFILES += 0002-Use-AF_UNIX-instead-of-AF_LOCAL-on-Solaris.patch
 
-VENDOR_URL = http://www.gnu.org/software/gnutls/
+# Sun Studio 12 bails out on .deinit_func
+GARCOMPILER = GCC4
 
+VENDOR_URL = http://gnutls.org
+
 BUILD_DEP_PKGS += CSWlibnettle-dev
 BUILD_DEP_PKGS += CSWlibreadline-dev
 BUILD_DEP_PKGS += CSWlibtasn1-dev
@@ -55,7 +60,7 @@
 CATALOGNAME_CSWgnutlsdevel = gnutls_devel_stub
 
 # We don't need it and if defined the test breaks
-LD_OPTIONS =
+#LD_OPTIONS =
 
 # EXTRA_CPPFLAGS = -D_FILE_OFFSET_BITS=64
 

Modified: csw/mgar/pkg/gnutls3/trunk/checksums
===================================================================
--- csw/mgar/pkg/gnutls3/trunk/checksums	2013-05-10 09:53:05 UTC (rev 21038)
+++ csw/mgar/pkg/gnutls3/trunk/checksums	2013-05-10 10:24:08 UTC (rev 21039)
@@ -1 +1 @@
-8a7b47456f65ffa8c01c58461fed1388  gnutls-3.1.3.tar.xz
+9e73aa5c3ef3b7358159a31302e25aa7  gnutls-3.1.10.tar.xz

Added: csw/mgar/pkg/gnutls3/trunk/files/0002-Use-AF_UNIX-instead-of-AF_LOCAL-on-Solaris.patch
===================================================================
--- csw/mgar/pkg/gnutls3/trunk/files/0002-Use-AF_UNIX-instead-of-AF_LOCAL-on-Solaris.patch	                        (rev 0)
+++ csw/mgar/pkg/gnutls3/trunk/files/0002-Use-AF_UNIX-instead-of-AF_LOCAL-on-Solaris.patch	2013-05-10 10:24:08 UTC (rev 21039)
@@ -0,0 +1,25 @@
+From 729ae391eba80bedae241d76541fcc2c93563a29 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Sat, 10 Nov 2012 16:57:30 +0100
+Subject: [PATCH] Use AF_UNIX instead of AF_LOCAL on Solaris
+
+---
+ tests/srp/mini-srp.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/srp/mini-srp.c b/tests/srp/mini-srp.c
+index a1db3f5..0d2c8a6 100644
+--- a/tests/srp/mini-srp.c
++++ b/tests/srp/mini-srp.c
+@@ -282,7 +282,7 @@ static void start (const char* prio)
+   int fd[2];
+   int ret;
+   
+-  ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, fd);
++  ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fd);
+   if (ret < 0)
+     {
+       perror("socketpair");
+-- 
+1.8.0
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list