[Midnightbsd-cvs] mports: mports/net: Add xmlrpc-epi

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Feb 26 20:52:29 EST 2008


Log Message:
-----------
Add xmlrpc-epi

Modified Files:
--------------
    mports/net:
        Makefile (r1.55 -> r1.56)

Added Files:
-----------
    mports/net/xmlrpc-epi:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/net/xmlrpc-epi/files:
        patch-src__xml_element.c (r1.1)

-------------- next part --------------
--- /dev/null
+++ net/xmlrpc-epi/pkg-descr
@@ -0,0 +1,18 @@
+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.
+
+As of Sept. 27, 2001, experimental support for SOAP v 1.1 has been added to the
+library. This support is implemented transparently to the application such that
+a single API can be used for manipulation of values, yet both SOAP and XML-RPC
+can be read or written.
+
+Various iterations of this code have been/are running at Epinions.com and are
+sufficiently fast for the high traffic volume this site encounters, with several
+xmlrpc type requests generated for each user http request. No specific speed
+claims are made. Your mileage may vary.
+
+WWW: http://xmlrpc-epi.sourceforge.net/
--- /dev/null
+++ net/xmlrpc-epi/pkg-plist
@@ -0,0 +1,20 @@
+bin/xre-client
+bin/xre-hello_client
+bin/xre-hello_server
+bin/xre-memtest
+bin/xre-sample
+bin/xre-server
+bin/xre-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/xmlparse.h
+include/xmlrpc.h
+include/xmlrpc_introspection.h
+lib/libxmlrpc.a
+lib/libxmlrpc.la
+lib/libxmlrpc.so
+lib/libxmlrpc.so.0
--- /dev/null
+++ net/xmlrpc-epi/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for:	xmlrpc-epi
+# Date created:			Feb 26, 2008
+# Whom:				Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/net/xmlrpc-epi/Makefile,v 1.1 2008/02/27 01:52:27 laffer1 Exp $
+#
+
+PORTNAME=	xmlrpc-epi
+PORTVERSION=	0.51
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A general purpose implementation of the xmlrpc specification in C
+
+USE_GMAKE=	yes
+USE_ICONV=	yes
+USE_LDCONFIG=	yes
+USE_AUTOTOOLS=	libtool:15
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"		\
+		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv"
+CONFIGURE_ARGS=	--program-transform="s|^|xre-|"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd6.1
+
+PORTDOCS=	AUTHORS ChangeLog NEWS README
+
+METHODS=	TestNormal TestFault TestStruct TestArray TestBoolean	\
+		TestInt TestString TestDouble TestBase64 TestDateTime
+
+CONFLICTS=	xmlrpc-c-0.*
+
+pre-configure:
+	${FIND} ${WRKSRC} -name Makefile.in | ${XARGS}	\
+	${REINPLACE_CMD} -e '/^LTCOMPILE =/s/--mode=/--tag=CC --mode=/'
+	${FIND} ${WRKSRC} -name Makefile.in | ${XARGS}	\
+	${REINPLACE_CMD} -e '/^LINK =/s/--mode=/--tag=CC --mode=/'
+
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+regression-test:
+.for tm in ${METHODS}
+	cd ${WRKSRC}/sample &&	\
+	./sample -method method_${tm}
+.endfor
+
+.include <bsd.port.mk>
--- /dev/null
+++ net/xmlrpc-epi/distinfo
@@ -0,0 +1,3 @@
+MD5 (xmlrpc-epi-0.51.tar.gz) = 51c5f062365f82ff1c26c2763e7f0654
+SHA256 (xmlrpc-epi-0.51.tar.gz) = ec9e54e72e70b38d515d6fc69b4d591ed6018b65d9409965dfacdcd1f59d13b3
+SIZE (xmlrpc-epi-0.51.tar.gz) = 458208
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/Makefile,v
retrieving revision 1.55
retrieving revision 1.56
diff -L net/Makefile -L net/Makefile -u -r1.55 -r1.56
--- net/Makefile
+++ net/Makefile
@@ -64,6 +64,7 @@
     SUBDIR += vncreflector
     SUBDIR += x11vnc
     SUBDIR += xmlrpc-c
+    SUBDIR += xmlrpc-epi
     SUBDIR += yaz
     SUBDIR += zillion
 
--- /dev/null
+++ net/xmlrpc-epi/files/patch-src__xml_element.c
@@ -0,0 +1,11 @@
+--- src/xml_element.c.orig	Thu May 23 19:46:51 2002
++++ src/xml_element.c	Tue Mar 20 23:15:55 2007
+@@ -170,7 +170,7 @@
+ 
+       Q_Destroy(&root->children);
+       Q_Destroy(&root->attrs);
+-      my_free((char*)root->name);
++      my_free(root->name);
+       simplestring_free(&root->text);
+       my_free(root);
+    }


More information about the Midnightbsd-cvs mailing list