Date: Sun, 2 Nov 2014 15:06:44 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372073 - in head/devel: . libsearpc libsearpc/files Message-ID: <201411021506.sA2F6ipf058956@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Nov 2 15:06:44 2014 New Revision: 372073 URL: https://svnweb.freebsd.org/changeset/ports/372073 QAT: https://qat.redports.org/buildarchive/r372073/ Log: Add new port devel/libsearpc PR: 193132 Submitted by: JingFeng Yan Searpc is a simple C language RPC framework based on GObject system. Searpc handles the serialization/deserialization part of RPC, the transport part is left to users. The serialization/deserialization uses JSON format via json-glib library. A serialized json object is returned from server to client after executing the RPC function. Each RPC function defined in the server side should take an extra GError argument to report error. Added: head/devel/libsearpc/ head/devel/libsearpc/Makefile (contents, props changed) head/devel/libsearpc/distinfo (contents, props changed) head/devel/libsearpc/files/ head/devel/libsearpc/files/patch-Makefile.am (contents, props changed) head/devel/libsearpc/pkg-descr (contents, props changed) head/devel/libsearpc/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Nov 2 14:24:59 2014 (r372072) +++ head/devel/Makefile Sun Nov 2 15:06:44 2014 (r372073) @@ -1127,6 +1127,7 @@ SUBDIR += librevisa-vxi SUBDIR += libruin SUBDIR += libs11n + SUBDIR += libsearpc SUBDIR += libserialport SUBDIR += libserver SUBDIR += libshbuf Added: head/devel/libsearpc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libsearpc/Makefile Sun Nov 2 15:06:44 2014 (r372073) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= libsearpc +PORTVERSION= 3.0.0 +CATEGORIES= devel + +MAINTAINER= yan_jingfeng@yahoo.com +COMMENT= Simple RPC framework based on GObject System in C + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \ + libgobject-2.0.so:${PORTSDIR}/devel/glib20 + +USE_GITHUB= yes +GH_ACCOUNT= haiwen +GH_TAGNAME= v3.0-latest +GH_COMMIT= 8998e7b + +USES= autoreconf libtool pathfix pkgconfig python:2 +USE_LDCONFIG= yes +PATHFIX_MAKEFILEIN= Makefile.am + +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +.include <bsd.port.mk> Added: head/devel/libsearpc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libsearpc/distinfo Sun Nov 2 15:06:44 2014 (r372073) @@ -0,0 +1,2 @@ +SHA256 (libsearpc-3.0.0.tar.gz) = cf563519d593be83d05192397ef56b33c6f2c5a105e7d469cc48e465ffdfc010 +SIZE (libsearpc-3.0.0.tar.gz) = 43293 Added: head/devel/libsearpc/files/patch-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libsearpc/files/patch-Makefile.am Sun Nov 2 15:06:44 2014 (r372073) @@ -0,0 +1,15 @@ +--- Makefile.am.orig 2014-08-14 11:48:58.000000000 -0400 ++++ Makefile.am 2014-09-06 03:15:27.906790580 -0400 +@@ -19,11 +19,7 @@ + SUBDIRS = lib pysearpc ${MAKE_DEMO} tests + + install-data-local: +-if MACOS +- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) +-else +- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) +-endif ++ ${SED} -i '' "s|(DESTDIR)||g" $(pcfiles) + + dist-hook: + git log -1 > $(distdir)/latest_commit Added: head/devel/libsearpc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libsearpc/pkg-descr Sun Nov 2 15:06:44 2014 (r372073) @@ -0,0 +1,10 @@ +Searpc is a simple C language RPC framework based on GObject system. +Searpc handles the serialization/deserialization part of RPC, the +transport part is left to users. + +The serialization/deserialization uses JSON format via json-glib +library. A serialized json object is returned from server to client +after executing the RPC function. Each RPC function defined in the +server side should take an extra GError argument to report error. + +WWW: https://github.com/haiwen/libsearpc Added: head/devel/libsearpc/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libsearpc/pkg-plist Sun Nov 2 15:06:44 2014 (r372073) @@ -0,0 +1,22 @@ +bin/searpc-codegen.py +include/searpc-client.h +include/searpc-server.h +include/searpc-utils.h +include/searpc.h +lib/libsearpc.a +lib/libsearpc.so +lib/libsearpc.so.1 +lib/libsearpc.so.1.0.2 +%%PYTHON_SITELIBDIR%%/pysearpc/__init__.py +%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyo +%%PYTHON_SITELIBDIR%%/pysearpc/client.py +%%PYTHON_SITELIBDIR%%/pysearpc/client.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/client.pyo +%%PYTHON_SITELIBDIR%%/pysearpc/common.py +%%PYTHON_SITELIBDIR%%/pysearpc/common.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/common.pyo +%%PYTHON_SITELIBDIR%%/pysearpc/server.py +%%PYTHON_SITELIBDIR%%/pysearpc/server.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/server.pyo +libdata/pkgconfig/libsearpc.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411021506.sA2F6ipf058956>