svn commit: r358367 - in head/net: . tclsoap tclsoap/files

John Marino marino at FreeBSD.org
Thu Jun 19 09:01:17 UTC 2014


Author: marino
Date: Thu Jun 19 09:01:15 2014
New Revision: 358367
URL: http://svnweb.freebsd.org/changeset/ports/358367
QAT: https://qat.redports.org/buildarchive/r358367/

Log:
  Add net port net/tclsoap (after 1.5 year wait)
  
  This PR was submitted 5 January 2013.  It suffered a bit of bitrot, but
  staging worked out of the box.  I made some minor adjustments.
  
  PR:		174988
  Submitted by:	Sebastien Santoro
  
       ================================================================
  
  tclsoap provides support for building clients and servers
  for the SOAP remote procedure call protocol from Tcl. SOAP
  is an XML based RPC mechanism which provides cross-platform
  cross language compatability.

Added:
  head/net/tclsoap/
  head/net/tclsoap/Makefile   (contents, props changed)
  head/net/tclsoap/distinfo   (contents, props changed)
  head/net/tclsoap/files/
  head/net/tclsoap/files/patch-Makefile.in   (contents, props changed)
  head/net/tclsoap/files/patch-SOAP.tcl   (contents, props changed)
  head/net/tclsoap/files/patch-pkgIndex.tcl   (contents, props changed)
  head/net/tclsoap/files/patch-xpath.tcl   (contents, props changed)
  head/net/tclsoap/pkg-descr   (contents, props changed)
  head/net/tclsoap/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu Jun 19 08:48:42 2014	(r358366)
+++ head/net/Makefile	Thu Jun 19 09:01:15 2014	(r358367)
@@ -1148,6 +1148,7 @@
     SUBDIR += tac_plus4
     SUBDIR += tapidbus
     SUBDIR += tayga
+    SUBDIR += tclsoap
     SUBDIR += tcludp
     SUBDIR += tcpcat
     SUBDIR += tcpdstat

Added: head/net/tclsoap/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/Makefile	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,21 @@
+# Created by: Sebastien Santoro <dereckson at gmail.com>
+# $FreeBSD$
+
+PORTNAME=	tclsoap
+PORTVERSION=	1.6.7
+CATEGORIES=	net
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/TclSOAP-${PORTVERSION}
+DISTNAME=	TclSOAP-${PORTVERSION}
+
+MAINTAINER=	dereckson at gmail.com
+COMMENT=	SOAP and XML-RPC support for TCL library
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${LOCALBASE}/lib/TclxmlConfig.sh:${PORTSDIR}/devel/tclxml
+
+USES=		tcl:wrapper,build
+USE_AUTOTOOLS=	autoconf:autoconf
+WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
+
+.include <bsd.port.mk>

Added: head/net/tclsoap/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/distinfo	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,2 @@
+SHA256 (TclSOAP-1.6.7.tar.gz) = aeb448de846f392b44b8309615b694081cf98340edabdb2dad4a71cdc49e03be
+SIZE (TclSOAP-1.6.7.tar.gz) = 149661

Added: head/net/tclsoap/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/files/patch-Makefile.in	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,13 @@
+diff --git Makefile.in Makefile.in
+index 7c62305..fe8e602 100644
+--- Makefile.in
++++ Makefile.in
+@@ -56,7 +56,7 @@ docdir = @docdir@
+ 
+ DESTDIR =
+ 
+-pkglibdir = $(libdir)/@PACKAGE@@VERSION@
++pkglibdir = $(libdir)/@PACKAGE@
+ 
+ top_builddir = .
+ 

Added: head/net/tclsoap/files/patch-SOAP.tcl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/files/patch-SOAP.tcl	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,21 @@
+diff --git SOAP.tcl SOAP.tcl
+index 4ba871e..1aaa071 100644
+--- SOAP.tcl
++++ SOAP.tcl
+@@ -22,12 +22,11 @@ package require rpcvar;                 # TclSOAP
+ 
+ namespace eval ::SOAP {variable domVersion}
+ if {[catch {package require SOAP::dom 1.0} ::SOAP::domVersion]} {
+-    if { [catch {package require dom 2.0} ::SOAP::domVersion]} {
+-        if { [catch {package require dom 1.6} ::SOAP::domVersion]} {
+-            error "require dom package greater than 1.6"
+-        }
+-        package require SOAP::xpath;    # TclSOAP
++    if {[catch {package require dom} ::SOAP::domVersion] || [package vcompare $::SOAP::domVersion 1.6] < 0} {
++        error "require dom package greater than 1.6"
+     }
++    package require SOAP::xpath;    # TclSOAP
++
+     proc ::SOAP::createDocument {name} {
+         set doc [dom::DOMImplementation create]
+         return [dom::document createElement $doc $name]

Added: head/net/tclsoap/files/patch-pkgIndex.tcl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/files/patch-pkgIndex.tcl	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,14 @@
+diff --git pkgIndex.tcl pkgIndex.tcl
+index b7fb4e3..ebdf78f 100644
+--- pkgIndex.tcl
++++ pkgIndex.tcl
+@@ -11,8 +11,7 @@
+ package ifneeded SOAP 1.6.7 [list source [file join $dir SOAP.tcl]]
+ package ifneeded SOAP::CGI 1.0 [list source [file join $dir SOAP-CGI.tcl]]
+ package ifneeded SOAP::Domain 1.4 [list source [file join $dir SOAP-domain.tcl]]
+-package ifneeded SOAP::Service 0.4 [list source [file join $dir SOAP-service.tcl]]
+-package ifneeded SOAP::Utils 1.0 [list source [file join $dir utils.tcl]]
++package ifneeded SOAP::Utils 1.0.1 [list source [file join $dir utils.tcl]]
+ package ifneeded SOAP::ftp 1.0 [list source [file join $dir ftp.tcl]]
+ package ifneeded SOAP::http 1.0 [list source [file join $dir http.tcl]]
+ package ifneeded SOAP::https 1.0 [list source [file join $dir https.tcl]]

Added: head/net/tclsoap/files/patch-xpath.tcl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/files/patch-xpath.tcl	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,17 @@
+diff --git xpath.tcl xpath.tcl
+index 14b0334..f33e02c 100644
+--- xpath.tcl
++++ xpath.tcl
+@@ -14,10 +14,9 @@
+ # for more details.
+ # -------------------------------------------------------------------------
+ 
+-if { [catch {package require dom 2.0}] } {
+-    if { [catch {package require dom 1.6}] } {
++namespace eval ::SOAP {variable domVersion}
++if { [catch {package require dom} ::SOAP::domVersion] || [package vcompare $::SOAP::domVersion 1.6] < 0} {
+         error "require dom package greater than 1.6"
+-    }
+ }
+ 
+ namespace eval SOAP::xpath {

Added: head/net/tclsoap/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/pkg-descr	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,6 @@
+tclsoap provides support for building clients and servers
+for the SOAP remote procedure call protocol from Tcl. SOAP
+is an XML based RPC mechanism which provides cross-platform
+cross language compatability.
+
+WWW: http://tclsoap.sourceforge.net/

Added: head/net/tclsoap/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tclsoap/pkg-plist	Thu Jun 19 09:01:15 2014	(r358367)
@@ -0,0 +1,20 @@
+lib/tclsoap/SOAP-CGI.tcl
+lib/tclsoap/SOAP-domain.tcl
+lib/tclsoap/SOAP.tcl
+lib/tclsoap/XMLRPC.tcl
+lib/tclsoap/beep.tcl
+lib/tclsoap/ftp.tcl
+lib/tclsoap/http.tcl
+lib/tclsoap/https.tcl
+lib/tclsoap/interop/pkgIndex.tcl
+lib/tclsoap/interop/silab.tcl
+lib/tclsoap/interop/soapinterop.tcl
+lib/tclsoap/interop/soapinteropB.tcl
+lib/tclsoap/interop/soapinteropC.tcl
+lib/tclsoap/pkgIndex.tcl
+lib/tclsoap/rpcvar.tcl
+lib/tclsoap/smtp.tcl
+lib/tclsoap/utils.tcl
+lib/tclsoap/xpath.tcl
+ at dirrmtry lib/tclsoap/interop
+ at dirrmtry lib/tclsoap


More information about the svn-ports-head mailing list