summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca>2004-11-28 04:18:24 +0000
committertaca <taca>2004-11-28 04:18:24 +0000
commitf53e9aca984dd367960819d72d21e995e797ebd3 (patch)
tree2d271bc3ac1457c8445f3fee602c5acdb6e13c34 /net
parentffba96a36cd8fc44b852544a2876751366fcab72 (diff)
downloadpkgsrc-f53e9aca984dd367960819d72d21e995e797ebd3.tar.gz
Update ruby-xmlrpc4r package to 1.7.16 migrating to use new framework
for Ruby packages. :1.7.16 (2003-04-08) * doc/howto.rb: added security note (thanks to Brian Candler) * lib/client.rb: fixed bug in Client#new3 (Richard Kilmer) * fix 'warning' and 'NoMethodError' in parser.rb/client.rb (by MoonWolf) :1.7.15 (2003-01-30) * lib/httpserver.rb: fixed missing comma :1.7.14 (2003-01-25) * lib/parser.rb: added support for xmlscan parser (XMLScanStreamParser), thanks Takaaki Tateishi * lib/server.rb: status_code changed from 405 to 403 (Forbidden) on invalid IP :1.7.13 (2002-10-24) * lib/server.rb: added methods Server#get/set_valid_ip :1.7.12 (2002-10-23) * lib/client.rb: bug fixed: removed http.finish if async (SUTOU Kouhei) * lib/server.rb: added ip_auth_handler method. * lib/httpserver.rb: call ip_auth_handler of handler object before calling request_handler :1.7.11 (2002-06-10) * test/: refactored test suite * lib/parser.rb: added support for REXML parser. * lib/parser.rb: update to work with XMLParser 0.6.2. :1.7.10 (2002-05-01) * fixed bug when marshalling user-defined types using a stream parser * updated tests to work with Ruby 1.6.7 (marshalling output changed)
Diffstat (limited to 'net')
-rw-r--r--net/ruby-xmlrpc4r/Makefile86
-rw-r--r--net/ruby-xmlrpc4r/PLIST21
-rw-r--r--net/ruby-xmlrpc4r/distinfo6
3 files changed, 21 insertions, 92 deletions
diff --git a/net/ruby-xmlrpc4r/Makefile b/net/ruby-xmlrpc4r/Makefile
index 4968e98ba63..6ae7a8f3b7d 100644
--- a/net/ruby-xmlrpc4r/Makefile
+++ b/net/ruby-xmlrpc4r/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.6 2004/11/28 04:18:24 taca Exp $
#
-DISTNAME= xmlrpc4r-1_7_9
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME:S/_/./g}
+DISTNAME= xmlrpc4r-1_7_16
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/./g}
CATEGORIES= net ruby
MASTER_SITES= http://www.fantasy-coders.de/ruby/xmlrpc4r/
@@ -10,77 +10,21 @@ MAINTAINER= neumann@s-direktnet.de
HOMEPAGE= http://www.fantasy-coders.de/ruby/xmlrpc4r/
COMMENT= Implementation of the XML-RPC protocol for Ruby
-DEPENDS+= ${RUBY_PKGNAMEPREFIX}nqxml>=1.1.1:../../textproc/ruby-nqxml
-DIST_SUBDIR= ruby
-USE_RUBY= yes
-NO_BUILD= yes
+USE_RUBY_INSTALL= yes
+NO_BUILD= yes
+REPLACE_RUBY_DIRS= ${WRKSRC}/samples
+REPLACE_FILE_PAT= *.rb *.cgi *.fcgi
-DOC= README ToDo doc/rubyStyle.css doc/ChangeLog.html \
- doc/base64.html doc/client.html doc/datetime.html \
- doc/howto.html doc/index.html doc/server.html
-EXAMPLES= call.rb \
- chat/client.rb chat/client.rb.tk chat/server.rb \
- introspection/client.rb introspection/server.rb \
- marshallable/client.rb marshallable/person.rb \
- marshallable/server.rb \
- monitor/monitor.rb \
- multicall.rb perf_async.rb \
- raa/raa.rb raa/raa_fox.rb raa/raa_test.rb raa/raa_tk.rb \
- raa/responder.rb \
- sandstorm/active.rb \
- tcptunnel/README \
- validator/validator1.rb \
- webrick/client.rb webrick/server.rb \
- wwwsrv/srv.conf wwwsrv/srv.rb \
- xml.cgi xml.fcgi xml2.cgi
-TESTS= bench_parser.rb \
- files/bug_bool.expected files/bug_bool.xml \
- files/bug_covert.expected files/bug_covert.xml \
- files/fault.xml files/value.expected files/value.xml \
- files/xml1.expected files/xml1.xml \
- test_datetime.rb test_features.rb \
- test_marshal.rb test_parser.rb
-REPLACE_RUBY= redist/TCPSocketPipe.rb redist/dump.rb \
- samples/call.rb \
- samples/chat/client.rb samples/chat/client.rb.tk \
- samples/chat/server.rb \
- samples/introspection/client.rb \
- samples/introspection/server.rb \
- samples/marshallable/client.rb samples/marshallable/server.rb \
- samples/monitor/monitor.rb \
- samples/perf_async.rb \
- samples/raa/raa.rb samples/raa/raa_test.rb \
- samples/raa/raa_tk.rb \
- samples/validator/validator1.rb \
- samples/xml.cgi samples/xml.fcgi samples/xml2.cgi \
- test/bench_parser.rb test/test_datetime.rb \
- test/test_features.rb test/test_marshal.rb test/test_parser.rb
-
-do-install:
- cd ${WRKSRC}; ${RUBY} install.rb
+DEPENDS+= ${RUBY_PKGPREFIX}-xmlparser>=0.6.8:../../textproc/ruby-xmlparser
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlrpc
-.for f in ${DOC}
- ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/xmlrpc
-.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/chat
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/introspection
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/marshallable
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/monitor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/raa
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/sandstorm
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/tcptunnel
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/validator
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/webrick
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/wwwsrv
-.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/samples/$f ${RUBY_EXAMPLESDIR}/xmlrpc/$f
-.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/test/files
-.for f in ${TESTS}
- ${INSTALL_DATA} ${WRKSRC}/test/$f ${RUBY_EXAMPLESDIR}/xmlrpc/test/$f
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.css ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.rd ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc
+ ${CP} -r ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/xmlrpc
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ruby-xmlrpc4r/PLIST b/net/ruby-xmlrpc4r/PLIST
index 3ce5e9e7edc..4580ad6125f 100644
--- a/net/ruby-xmlrpc4r/PLIST
+++ b/net/ruby-xmlrpc4r/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/27 15:31:18 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/28 04:18:24 taca Exp $
${RUBY_SITELIBDIR}/GServer.rb
${RUBY_SITELIBDIR}/TCPSocketPipe.rb
${RUBY_SITELIBDIR}/application.rb
@@ -16,12 +16,13 @@ ${RUBY_SITELIBDIR}/xmlrpc/utils.rb
@dirrm ${RUBY_SITELIBDIR}/xmlrpc
${RUBY_DOCDIR}/xmlrpc/ChangeLog.html
${RUBY_DOCDIR}/xmlrpc/README
-${RUBY_DOCDIR}/xmlrpc/ToDo
${RUBY_DOCDIR}/xmlrpc/base64.html
${RUBY_DOCDIR}/xmlrpc/client.html
${RUBY_DOCDIR}/xmlrpc/datetime.html
${RUBY_DOCDIR}/xmlrpc/howto.html
+${RUBY_DOCDIR}/xmlrpc/howto.rd
${RUBY_DOCDIR}/xmlrpc/index.html
+${RUBY_DOCDIR}/xmlrpc/index.rd
${RUBY_DOCDIR}/xmlrpc/rubyStyle.css
${RUBY_DOCDIR}/xmlrpc/server.html
@dirrm ${RUBY_DOCDIR}/xmlrpc
@@ -51,22 +52,6 @@ ${RUBY_EXAMPLESDIR}/xmlrpc/sandstorm/active.rb
@dirrm ${RUBY_EXAMPLESDIR}/xmlrpc/sandstorm
${RUBY_EXAMPLESDIR}/xmlrpc/tcptunnel/README
@dirrm ${RUBY_EXAMPLESDIR}/xmlrpc/tcptunnel
-${RUBY_EXAMPLESDIR}/xmlrpc/test/bench_parser.rb
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/bug_bool.expected
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/bug_bool.xml
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/bug_covert.expected
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/bug_covert.xml
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/fault.xml
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/value.expected
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/value.xml
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/xml1.expected
-${RUBY_EXAMPLESDIR}/xmlrpc/test/files/xml1.xml
-@dirrm ${RUBY_EXAMPLESDIR}/xmlrpc/test/files
-${RUBY_EXAMPLESDIR}/xmlrpc/test/test_datetime.rb
-${RUBY_EXAMPLESDIR}/xmlrpc/test/test_features.rb
-${RUBY_EXAMPLESDIR}/xmlrpc/test/test_marshal.rb
-${RUBY_EXAMPLESDIR}/xmlrpc/test/test_parser.rb
-@dirrm ${RUBY_EXAMPLESDIR}/xmlrpc/test
${RUBY_EXAMPLESDIR}/xmlrpc/validator/validator1.rb
@dirrm ${RUBY_EXAMPLESDIR}/xmlrpc/validator
${RUBY_EXAMPLESDIR}/xmlrpc/webrick/client.rb
diff --git a/net/ruby-xmlrpc4r/distinfo b/net/ruby-xmlrpc4r/distinfo
index ebd7afbd38b..b1981d0f802 100644
--- a/net/ruby-xmlrpc4r/distinfo
+++ b/net/ruby-xmlrpc4r/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/01/27 15:31:18 taca Exp $
+$NetBSD: distinfo,v 1.2 2004/11/28 04:18:24 taca Exp $
-SHA1 (ruby/xmlrpc4r-1_7_9.tar.gz) = 322998d757524d82c1beb5cd0529c63ec212763c
-Size (ruby/xmlrpc4r-1_7_9.tar.gz) = 60834 bytes
+SHA1 (ruby/xmlrpc4r-1_7_16.tar.gz) = e72092533619003e99dd638fa6132ab6436db228
+Size (ruby/xmlrpc4r-1_7_16.tar.gz) = 64066 bytes