summaryrefslogtreecommitdiff
path: root/textproc/xmlrpc-c
diff options
context:
space:
mode:
authorwiz <wiz>2007-02-24 11:00:51 +0000
committerwiz <wiz>2007-02-24 11:00:51 +0000
commit072dbb27c0e0810154a2f904fb7f665164f6415e (patch)
treed987665dcd75e5c20512fc4c10d141211c24beb1 /textproc/xmlrpc-c
parent17d39254edfdb6e26ff35360fc6062f8964dd703 (diff)
downloadpkgsrc-072dbb27c0e0810154a2f904fb7f665164f6415e.tar.gz
Initial import of xmlrpc-c-1.09.00:
XML-RPC is a quick-and-easy way to make procedure calls over the Internet. It converts the procedure call into XML document, sends it to a remote server using HTTP, and gets back the response as XML. This library provides a modular implementation of XML-RPC for C and C++. XXX: build system is custom-made (i.e. not using libtool), PLIST will be wrong for many OPSYS -- please fix!
Diffstat (limited to 'textproc/xmlrpc-c')
-rw-r--r--textproc/xmlrpc-c/DESCR7
-rw-r--r--textproc/xmlrpc-c/Makefile22
-rw-r--r--textproc/xmlrpc-c/PLIST68
-rw-r--r--textproc/xmlrpc-c/distinfo8
-rw-r--r--textproc/xmlrpc-c/patches/patch-aa13
-rw-r--r--textproc/xmlrpc-c/patches/patch-ab21
-rw-r--r--textproc/xmlrpc-c/patches/patch-ac15
7 files changed, 154 insertions, 0 deletions
diff --git a/textproc/xmlrpc-c/DESCR b/textproc/xmlrpc-c/DESCR
new file mode 100644
index 00000000000..e2b8987ddc1
--- /dev/null
+++ b/textproc/xmlrpc-c/DESCR
@@ -0,0 +1,7 @@
+XML-RPC is a quick-and-easy way to make procedure calls over the
+Internet. It converts the procedure call into XML document, sends
+it to a remote server using HTTP, and gets back the response as
+XML.
+
+This library provides a modular implementation of XML-RPC for C
+and C++.
diff --git a/textproc/xmlrpc-c/Makefile b/textproc/xmlrpc-c/Makefile
new file mode 100644
index 00000000000..b9f543fcee6
--- /dev/null
+++ b/textproc/xmlrpc-c/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+#
+
+DISTNAME= xmlrpc-c-1.09.00
+CATEGORIES= textproc devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://xmlrpc-c.sourceforge.net/
+COMMENT= Library for writing an XML-RPC server or client in C or C++
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+MAKE_FILE= GNUmakefile
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../www/libwww/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/xmlrpc-c/PLIST b/textproc/xmlrpc-c/PLIST
new file mode 100644
index 00000000000..e4a83ed1621
--- /dev/null
+++ b/textproc/xmlrpc-c/PLIST
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+bin/xmlrpc
+bin/xmlrpc-c-config
+bin/xmlrpc_transport
+include/XmlRpcCpp.h
+include/xmlrpc-c/abyss.h
+include/xmlrpc-c/base.h
+include/xmlrpc-c/base.hpp
+include/xmlrpc-c/c_util.h
+include/xmlrpc-c/client.h
+include/xmlrpc-c/client.hpp
+include/xmlrpc-c/client_global.h
+include/xmlrpc-c/client_simple.hpp
+include/xmlrpc-c/client_transport.hpp
+include/xmlrpc-c/config.h
+include/xmlrpc-c/girerr.hpp
+include/xmlrpc-c/girmem.hpp
+include/xmlrpc-c/oldcppwrapper.hpp
+include/xmlrpc-c/oldxmlrpc.h
+include/xmlrpc-c/registry.hpp
+include/xmlrpc-c/server.h
+include/xmlrpc-c/server_abyss.h
+include/xmlrpc-c/server_abyss.hpp
+include/xmlrpc-c/server_cgi.h
+include/xmlrpc-c/server_w32httpsys.h
+include/xmlrpc-c/timeout.hpp
+include/xmlrpc-c/transport.h
+include/xmlrpc-c/util.h
+include/xmlrpc-c/xml.hpp
+include/xmlrpc.h
+include/xmlrpc_cgi.h
+include/xmlrpc_client.h
+include/xmlrpc_server.h
+include/xmlrpc_server_abyss.h
+include/xmlrpc_server_w32httpsys.h
+lib/libxmlrpc++.a
+lib/libxmlrpc++.so
+lib/libxmlrpc++.so.3
+lib/libxmlrpc++.so.3.09
+lib/libxmlrpc.la
+lib/libxmlrpc_abyss.a
+lib/libxmlrpc_abyss.so
+lib/libxmlrpc_abyss.so.3
+lib/libxmlrpc_abyss.so.3.09
+lib/libxmlrpc_client++.a
+lib/libxmlrpc_client++.so
+lib/libxmlrpc_client++.so.3
+lib/libxmlrpc_client++.so.3.09
+lib/libxmlrpc_client.la
+lib/libxmlrpc_cpp.a
+lib/libxmlrpc_cpp.so
+lib/libxmlrpc_cpp.so.3
+lib/libxmlrpc_cpp.so.3.09
+lib/libxmlrpc_server++.a
+lib/libxmlrpc_server++.so
+lib/libxmlrpc_server++.so.3
+lib/libxmlrpc_server++.so.3.09
+lib/libxmlrpc_server.la
+lib/libxmlrpc_server_abyss++.a
+lib/libxmlrpc_server_abyss++.so
+lib/libxmlrpc_server_abyss++.so.3
+lib/libxmlrpc_server_abyss++.so.3.09
+lib/libxmlrpc_server_abyss.la
+lib/libxmlrpc_server_cgi.la
+lib/libxmlrpc_util.la
+lib/libxmlrpc_xmlparse.la
+lib/libxmlrpc_xmltok.la
+@dirrm include/xmlrpc-c
diff --git a/textproc/xmlrpc-c/distinfo b/textproc/xmlrpc-c/distinfo
new file mode 100644
index 00000000000..c831076b835
--- /dev/null
+++ b/textproc/xmlrpc-c/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+
+SHA1 (xmlrpc-c-1.09.00.tgz) = bd4571ca3bc23c1fe9dd002659fcc2aa3d4ce8a6
+RMD160 (xmlrpc-c-1.09.00.tgz) = ef098edef126dfd5a14334e6a1e4e7919be4b40c
+Size (xmlrpc-c-1.09.00.tgz) = 701817 bytes
+SHA1 (patch-aa) = ff3f7c7d0195c10f57df4ea047eb87a5bdac5cd1
+SHA1 (patch-ab) = 4734d7ccec41c5ccc617f6a2775fa4a67534c995
+SHA1 (patch-ac) = 805aebdaa736a08482a4f82559938d38f794ab81
diff --git a/textproc/xmlrpc-c/patches/patch-aa b/textproc/xmlrpc-c/patches/patch-aa
new file mode 100644
index 00000000000..2064747587a
--- /dev/null
+++ b/textproc/xmlrpc-c/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+
+--- lib/abyss/src/server.c.orig 2006-09-02 04:57:35.000000000 +0200
++++ lib/abyss/src/server.c
+@@ -4,7 +4,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #ifdef WIN32
+ #include <io.h>
+ #else
diff --git a/textproc/xmlrpc-c/patches/patch-ab b/textproc/xmlrpc-c/patches/patch-ab
new file mode 100644
index 00000000000..93eb7008570
--- /dev/null
+++ b/textproc/xmlrpc-c/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+
+--- Makefile.config.in.orig 2006-09-28 04:15:55.000000000 +0200
++++ Makefile.config.in
+@@ -204,12 +204,13 @@ ifeq ($(HOST_OS),osf)
+ LDFLAGS_SHLIB = -shared -expect_unresolved
+ endif
+
+-ifeq ($(findstring netbsd,$(HOST_OS)),FIND)
++ifeq ($(HOST_OS),netbsd)
+ SHARED_LIB_TYPE = unix
+ SHLIB_SUFFIX = so
+- shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ))
++ shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN))
+ shliblefn = $(1:%=%.$(SHLIB_SUFFIX))
+- CFLAGS_SHLIB = -fpic
++ CFLAGS_SHLIB = -fPIC
++ LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB)
+ endif
+
+ ifeq ($(HOST_OS),darwin)
diff --git a/textproc/xmlrpc-c/patches/patch-ac b/textproc/xmlrpc-c/patches/patch-ac
new file mode 100644
index 00000000000..d0dfa970bfe
--- /dev/null
+++ b/textproc/xmlrpc-c/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/02/24 11:00:51 wiz Exp $
+
+--- src/cpp/Makefile.orig 2006-11-06 02:50:37.000000000 +0100
++++ src/cpp/Makefile
+@@ -102,8 +102,8 @@ all: \
+
+ # Rules for these are in Makefile.common, courtesy of TARGET_LIB_NAMES_PP:
+
+-$(LIBXMLRPC_CPP): XmlRpcCpp.o
+-$(LIBXMLRPC_CPP): LIBOBJECTS = XmlRpcCpp.o
++$(LIBXMLRPC_CPP): XmlRpcCpp.osh
++$(LIBXMLRPC_CPP): LIBOBJECTS = XmlRpcCpp.osh
+
+ $(LIBXMLRPCPP): $(LIBXMLRPCPP_MODS:%=%.osh)
+ $(LIBXMLRPCPP): LIBOBJECTS = $(LIBXMLRPCPP_MODS:%=%.osh)