xmlrpc-epi 0.51

xmlrpc-epi is an implementation of the xmlrpc protocol
in C. It provides an easy to use API for developers to
serialize RPC requests to and from XML. It does *not*
include a transport layer, such as HTTP. The API is
primarily based upon proprietary code written for
internal usage at Epinions.com, and was later modified
to incorporate concepts from the xmlrpc protocol. It
passed the xmlrpc validation test suite in December 2000.
This commit is contained in:
todd 2007-02-08 03:23:35 +00:00
parent 0a9a3b79fa
commit 1253a1dc72
11 changed files with 171 additions and 0 deletions

35
net/xmlrpc-epi/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
COMMENT= "XML-RPC C/C++ client-server implementation"
CATEGORIES= net devel textproc
DISTNAME= xmlrpc-epi-0.51
SHARED_LIBS += xmlrpc 0.3
HOMEPAGE= http://xmlrpc-epi.sourceforge.net/
WANTLIB += c expat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-epi/}
# BSD
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
LIB_DEPENDS= iconv::devel/gettext
CONFIGURE_STYLE= gnu autoconf
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
CFLAGS+= -I${PREFIX}/include
LDFLAGS= -L${PREFIX}/lib -liconv
post-extract:
rm -rf ${WRKSRC}/expat
.include <bsd.port.mk>

4
net/xmlrpc-epi/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (xmlrpc-epi-0.51.tar.gz) = 51c5f062365f82ff1c26c2763e7f0654
RMD160 (xmlrpc-epi-0.51.tar.gz) = c505ee80460cbf521cdee8895a02273d5a773e8e
SHA1 (xmlrpc-epi-0.51.tar.gz) = dc986663a1d996844dacd8787bee427a03a0c01b
SIZE (xmlrpc-epi-0.51.tar.gz) = 458208

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
--- Makefile.in.orig Thu Feb 1 23:16:01 2007
+++ Makefile.in Thu Feb 1 23:16:08 2007
@@ -77,7 +77,7 @@ RANLIB = @RANLIB@
STRIP = @STRIP@
VERSION = @VERSION@
-SUBDIRS = expat src sample
+SUBDIRS = src sample
CHANGE_LOG_GEN_BIN = scripts/cvs2cl.pl
CHANGE_LOG_GEN_FLAGS = -t -r -b --accum -I ChangeLog --gmt --prune

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure_in,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
--- configure.in.orig Thu Feb 1 23:14:28 2007
+++ configure.in Thu Feb 1 23:14:39 2007
@@ -36,7 +36,7 @@ AC_FUNC_STRFTIME
AC_CHECK_FUNCS(mktime strstr)
-AC_OUTPUT(src/Makefile Makefile sample/Makefile expat/Makefile expat/xmltok/Makefile expat/xmlparse/Makefile)
+AC_OUTPUT(src/Makefile Makefile sample/Makefile)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-sample_Makefile_in,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
--- sample/Makefile.in.orig Thu Feb 1 23:27:51 2007
+++ sample/Makefile.in Thu Feb 1 23:28:04 2007
@@ -111,7 +111,7 @@ PROGRAMS = $(bin_PROGRAMS)
DEFS = @DEFS@ -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -liconv
LIBS = @LIBS@
sample_OBJECTS = sample.$(OBJEXT)
sample_DEPENDENCIES = ../src/libxmlrpc.la

View File

@ -0,0 +1,37 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
--- src/Makefile.in.orig Sun Jun 23 18:48:29 2002
+++ src/Makefile.in Wed Feb 7 18:47:17 2007
@@ -75,11 +75,10 @@ RANLIB = @RANLIB@
STRIP = @STRIP@
VERSION = @VERSION@
-INCLUDES = -I../liblm -I../expat/xmltok -I../expat/xmlparse -I/usr/local/ssl/include
+INCLUDES = -I../liblm
lib_LTLIBRARIES = libxmlrpc.la
-libxmlrpc_la_LIBADD = ../expat/xmltok/libexpat_tok.la ../expat/xmlparse/libexpat_parse.la
libxmlrpc_la_SOURCES = base64.c encodings.c queue.c simplestring.c xml_element.c xml_to_dandarpc.c xml_to_xmlrpc.c xml_to_soap.c xmlrpc.c xmlrpc_introspection.c system_methods.c
@@ -128,10 +127,8 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -liconv -lexpat
LIBS = @LIBS@
-libxmlrpc_la_DEPENDENCIES = ../expat/xmltok/libexpat_tok.la \
-../expat/xmlparse/libexpat_parse.la
libxmlrpc_la_OBJECTS = base64.lo encodings.lo queue.lo simplestring.lo \
xml_element.lo xml_to_dandarpc.lo xml_to_xmlrpc.lo xml_to_soap.lo \
xmlrpc.lo xmlrpc_introspection.lo system_methods.lo
@@ -139,7 +136,7 @@ CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -liconv -o $@
HEADERS = $(include_HEADERS)
DIST_COMMON = README Makefile.am Makefile.in

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_xml_element_c,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
--- src/xml_element.c.orig Wed Feb 7 18:44:03 2007
+++ src/xml_element.c Wed Feb 7 18:44:29 2007
@@ -88,10 +88,10 @@ static const char rcsid[] = "#(@) $Id: x
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include <expat.h>
#include "xml_element.h"
#include "queue.h"
-#include "xmlparse.h"
#include "encodings.h"
#define my_free(thing) if(thing) {free(thing); thing = 0;}

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_xmlrpc_c,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
--- src/xmlrpc.c.orig Wed Feb 7 18:45:59 2007
+++ src/xmlrpc.c Wed Feb 7 18:46:16 2007
@@ -117,10 +117,10 @@ static const char rcsid[] =
#include <string.h>
#include <stdarg.h>
#include <time.h>
+#include <expat.h>
#include "queue.h"
#include "xmlrpc.h"
-#include "xmlparse.h"
#include "base64.h"
#include "xml_to_xmlrpc.h"

8
net/xmlrpc-epi/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
xmlrpc-epi is an implementation of the xmlrpc protocol
in C. It provides an easy to use API for developers to
serialize RPC requests to and from XML. It does *not*
include a transport layer, such as HTTP. The API is
primarily based upon proprietary code written for
internal usage at Epinions.com, and was later modified
to incorporate concepts from the xmlrpc protocol. It
passed the xmlrpc validation test suite in December 2000.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
@lib lib/libxmlrpc.so.${LIBxmlrpc_VERSION}

19
net/xmlrpc-epi/pkg/PLIST Normal file
View File

@ -0,0 +1,19 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/02/08 03:23:35 todd Exp $
%%SHARED%%
bin/client
bin/hello_client
bin/hello_server
bin/memtest
bin/sample
bin/server
bin/server_compliance_test
include/base64.h
include/encodings.h
include/queue.h
include/simplestring.h
include/xml_element.h
include/xml_to_xmlrpc.h
include/xmlrpc.h
include/xmlrpc_introspection.h
lib/libxmlrpc.a
lib/libxmlrpc.la