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.
This commit is contained in:
parent
74a09dfd94
commit
1a4672f9fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358367
9 changed files with 115 additions and 0 deletions
|
@ -1148,6 +1148,7 @@
|
|||
SUBDIR += tac_plus4
|
||||
SUBDIR += tapidbus
|
||||
SUBDIR += tayga
|
||||
SUBDIR += tclsoap
|
||||
SUBDIR += tcludp
|
||||
SUBDIR += tcpcat
|
||||
SUBDIR += tcpdstat
|
||||
|
|
21
net/tclsoap/Makefile
Normal file
21
net/tclsoap/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Created by: Sebastien Santoro <dereckson@gmail.com>
|
||||
# $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 <bsd.port.mk>
|
2
net/tclsoap/distinfo
Normal file
2
net/tclsoap/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (TclSOAP-1.6.7.tar.gz) = aeb448de846f392b44b8309615b694081cf98340edabdb2dad4a71cdc49e03be
|
||||
SIZE (TclSOAP-1.6.7.tar.gz) = 149661
|
13
net/tclsoap/files/patch-Makefile.in
Normal file
13
net/tclsoap/files/patch-Makefile.in
Normal file
|
@ -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 = .
|
||||
|
21
net/tclsoap/files/patch-SOAP.tcl
Normal file
21
net/tclsoap/files/patch-SOAP.tcl
Normal file
|
@ -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]
|
14
net/tclsoap/files/patch-pkgIndex.tcl
Normal file
14
net/tclsoap/files/patch-pkgIndex.tcl
Normal file
|
@ -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]]
|
17
net/tclsoap/files/patch-xpath.tcl
Normal file
17
net/tclsoap/files/patch-xpath.tcl
Normal file
|
@ -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 {
|
6
net/tclsoap/pkg-descr
Normal file
6
net/tclsoap/pkg-descr
Normal file
|
@ -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/
|
20
net/tclsoap/pkg-plist
Normal file
20
net/tclsoap/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue