Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 15:13:13 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165628: [update] devel/gsoap -- update to 2.8.8
Message-ID:  <201203021513.q22FDDma055102@red.freebsd.org>
Resent-Message-ID: <201203021520.q22FK2qq017753@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165628
>Category:       ports
>Synopsis:       [update] devel/gsoap -- update to 2.8.8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 02 15:20:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        
>Organization:
The FreeBSD Project
>Environment:
>Description:
* update to latest 2.8.8 version
* add OPTION to turn on/off SSL (using base OpenSSL)
* add OPTION to turn on/off SSL (using GnuTLS)
* minor tweaks
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/gsoap/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	11 Aug 2011 19:19:13 -0000	1.39
+++ Makefile	2 Mar 2012 14:45:49 -0000
@@ -6,19 +6,25 @@
 #
 
 PORTNAME=	gsoap
-PORTVERSION=	2.7.15
+PORTVERSION=	2.8.8
 CATEGORIES=	devel
-MASTER_SITES=	SF/${PORTNAME}2/gSOAP/${PORTVERSION}%20stable
+MASTER_SITES=	SF/${PORTNAME}2/gSOAP 
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	sem@FreeBSD.org
 COMMENT=	Generator Tools for Coding SOAP/XML Web Services in C and C++
 
+OPTIONS=	OPENSSL  "Enable SSL/TLS (OpenSSL from base)" on \
+		GNUTLS "Enable SSL/TLS (GnuTLS)" off
+
+USE_ZIP=	yes
 GNU_CONFIGURE=	yes
 USE_GNOME=	gnomehack
 MAKE_JOBS_UNSAFE=	yes
+CFLAGS+=	-DWSDL_TYPEMAP_FILE=\\\"${DATADIR}/WS/typemap.dat\\\" \
+		-DSOAPCPP2_IMPORT_PATH=\\\"${DATADIR}/import\\\"
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-2.7
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
 
 ONLY_FOR_ARCHS=	i386 amd64
 
@@ -28,6 +34,21 @@
 CFLAGS+=	-fPIC
 .endif
 
+.if defined(WITHOUT_OPENSSL) && defined(WITHOUT_GNUTLS)
+CONFIGURE_ARGS+=--disable-ssl
+.endif
+
+.if defined(WITH_GNUTLS) 
+LIB_DEPENDS+=	gnutls.47:${PORTSDIR}/security/gnutls \
+   		gcrypt.18:${PORTSDIR}/security/libgcrypt \
+		gpg-error.0:${PORTSDIR}/security/libgpg-error
+CONFIGURE_ARGS+=--enable-gnutls
+LDFLAGS+=	-L${LOCALBASE}/lib
+.endif
+
+post-patch:
+	${REINPLACE_CMD} -e 's|sys/timeb.h||' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
 post-install:
 	@${MKDIR} ${PREFIX}/lib/gsoap
 	@${CP} ${WRKSRC}/gsoap/stdsoap2.c ${PREFIX}/lib/gsoap
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/gsoap/distinfo,v
retrieving revision 1.24
diff -u -r1.24 distinfo
--- distinfo	3 Jul 2011 14:55:51 -0000	1.24
+++ distinfo	2 Mar 2012 13:36:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (gsoap_2.7.15.tar.gz) = 3ed883ab1a3d32b5bb2bf599306f247f6de3ffedd8890eb0e6303ae15995dc12
-SIZE (gsoap_2.7.15.tar.gz) = 6338478
+SHA256 (gsoap_2.8.8.zip) = 8b1ad1cbd521bd5f85ff4c038bfd5a17a2530610c1ce8bf7318725bc568465cc
+SIZE (gsoap_2.8.8.zip) = 13782549
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/gsoap/pkg-plist,v
retrieving revision 1.11
diff -u -r1.11 pkg-plist
--- pkg-plist	20 May 2010 16:10:37 -0000	1.11
+++ pkg-plist	2 Mar 2012 14:00:25 -0000
@@ -23,9 +23,11 @@
 %%DATADIR%%/WS/WS-Discovery.wsdl
 %%DATADIR%%/WS/WS-Enumeration.wsdl
 %%DATADIR%%/WS/WS-Policy.xsd
+%%DATADIR%%/WS/WS-Policy12.xsd
 %%DATADIR%%/WS/WS-ReliableMessaging.wsdl
 %%DATADIR%%/WS/WS-ReliableMessaging.xsd
 %%DATADIR%%/WS/WS-Routing.xsd
+%%DATADIR%%/WS/WS-SecurityPolicy.xsd
 %%DATADIR%%/WS/WS-typemap.dat
 %%DATADIR%%/WS/discovery.xsd
 %%DATADIR%%/WS/ds.xsd
@@ -35,7 +37,10 @@
 %%DATADIR%%/WS/ws-reliability-1.1.xsd
 %%DATADIR%%/WS/wsse.xsd
 %%DATADIR%%/WS/wsu.xsd
+%%DATADIR%%/WS/xenc.xsd
 %%DATADIR%%/custom/README.txt
+%%DATADIR%%/custom/duration.c
+%%DATADIR%%/custom/duration.h
 %%DATADIR%%/custom/long_double.c
 %%DATADIR%%/custom/long_double.h
 %%DATADIR%%/custom/struct_timeval.c
@@ -70,14 +75,19 @@
 %%DATADIR%%/import/wsa3.h
 %%DATADIR%%/import/wsa4.h
 %%DATADIR%%/import/wsa5.h
+%%DATADIR%%/import/wsdd.h
+%%DATADIR%%/import/wsdd10.h
+%%DATADIR%%/import/wsdx.h
 %%DATADIR%%/import/wsp.h
 %%DATADIR%%/import/wsrm.h
 %%DATADIR%%/import/wsrm4.h
 %%DATADIR%%/import/wsrp.h
 %%DATADIR%%/import/wsrx.h
 %%DATADIR%%/import/wsse.h
+%%DATADIR%%/import/wsse11.h
 %%DATADIR%%/import/wsse2.h
 %%DATADIR%%/import/wsu.h
+%%DATADIR%%/import/xenc.h
 %%DATADIR%%/import/xlink.h
 %%DATADIR%%/import/xmime.h
 %%DATADIR%%/import/xmime4.h
@@ -112,6 +122,8 @@
 %%DATADIR%%/plugin/logging.h
 %%DATADIR%%/plugin/md5evp.c
 %%DATADIR%%/plugin/md5evp.h
+%%DATADIR%%/plugin/mecevp.c
+%%DATADIR%%/plugin/mecevp.h
 %%DATADIR%%/plugin/plugin.c
 %%DATADIR%%/plugin/plugin.h
 %%DATADIR%%/plugin/smdevp.c
@@ -120,6 +132,10 @@
 %%DATADIR%%/plugin/threads.h
 %%DATADIR%%/plugin/wsaapi.c
 %%DATADIR%%/plugin/wsaapi.h
+%%DATADIR%%/plugin/wsddapi.c
+%%DATADIR%%/plugin/wsddapi.h
+%%DATADIR%%/plugin/wsrmapi.c
+%%DATADIR%%/plugin/wsrmapi.h
 %%DATADIR%%/plugin/wsse2api.c
 %%DATADIR%%/plugin/wsse2api.h
 %%DATADIR%%/plugin/wsseapi.c
Index: files/patch-gsoap-stdsoap2.h
===================================================================
RCS file: /home/pcvs/ports/devel/gsoap/files/patch-gsoap-stdsoap2.h,v
retrieving revision 1.1
diff -u -r1.1 patch-gsoap-stdsoap2.h
--- files/patch-gsoap-stdsoap2.h	9 Jul 2008 17:57:46 -0000	1.1
+++ files/patch-gsoap-stdsoap2.h	2 Mar 2012 13:54:46 -0000
@@ -1,6 +1,6 @@
---- gsoap/stdsoap2.h.orig	2008-01-27 22:02:36.000000000 +0100
-+++ gsoap/stdsoap2.h	2008-07-04 12:35:55.000000000 +0200
-@@ -292,9 +292,6 @@
+--- gsoap/stdsoap2.h.orig	2012-02-19 23:02:05.000000000 +0100
++++ gsoap/stdsoap2.h	2012-03-02 14:53:47.000000000 +0100
+@@ -304,9 +304,6 @@
  #  define HAVE_STRRCHR
  #  define HAVE_STRTOD
  #  define HAVE_SSCANF


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203021513.q22FDDma055102>