From owner-svn-ports-all@FreeBSD.ORG Thu Jun 19 09:01:17 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DBD172C; Thu, 19 Jun 2014 09:01:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FA822810; Thu, 19 Jun 2014 09:01:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5J91HX8011529; Thu, 19 Jun 2014 09:01:17 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5J91F9P011513; Thu, 19 Jun 2014 09:01:15 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201406190901.s5J91F9P011513@svn.freebsd.org> From: John Marino Date: Thu, 19 Jun 2014 09:01:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358367 - in head/net: . tclsoap tclsoap/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 09:01:17 -0000 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 +# $FreeBSD$ + +PORTNAME= tclsoap +PORTVERSION= 1.6.7 +CATEGORIES= net +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/TclSOAP-${PORTVERSION} +DISTNAME= TclSOAP-${PORTVERSION} + +MAINTAINER= dereckson@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 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 +@dirrmtry lib/tclsoap/interop +@dirrmtry lib/tclsoap