devel/libsearpc 3.3.20260612,2
Simple RPC framework based on GObject System in C
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
93e72627bf- License
- APACHE20
- Categories
- devel
- Package size
- 41.0 KiB, 195.8 KiB installed
Description
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.
Install
As a binary package — by origin, or by package name:
pkg install devel/libsearpc
pkg install libsearpc
From the ports tree:
cd /usr/ports/devel/libsearpc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libsearpc>0:devel/libsearpc
LIB_DEPENDS= libsearpc.so:devel/libsearpc
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.3.20260612,2 | 3.3.20260612,2 | 3.2.0_2,1 | 3.2.0_2,1 | 3.3.20260612,2 |
| FreeBSD:14:quarterly | 3.3.20260612,2 | 3.3.20260612,2 | n/a | 3.2.0_2,1 | 3.3.20260612,2 |
| FreeBSD:15:latest | 3.3.20260612,2 | 3.3.20260612,2 | n/a | 3.2.0_2,1 | 3.2.0_2,1 |
| FreeBSD:15:quarterly | 3.3.20260612,2 | 3.3.20260612,2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.3.20260612,2 | 3.3.20260612,2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 2
libjansson.so: devel/janssonlibgobject-2.0.so: devel/glib20
The full lists below include those, and their dependencies in turn.
All build dependencies 27
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/autoconf
- devel/autoconf-switch
- devel/automake
- devel/gettext-runtime
- devel/gettext-tools
- devel/glib20
- devel/jansson
- devel/libffi
- devel/libinotify
- devel/libtextstyle
- devel/libtool
- devel/libunistring
- devel/m4
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- lang/perl5.42
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/libxml2
All run dependencies 16
Required by 2
Configuration
No options to configure.
- USES
- autoreconf gettext libtool pathfix pkgconfig python shebangfix
- Service scripts
- none
Files
pkg-plist 43
- bin/searpc-codegen.py
- include/searpc-client.h
- include/searpc-named-pipe-transport.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/__pycache__/__init__.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/__init__.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/__init__.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/client.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/client.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/client.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/common.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/common.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/common.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/errors.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/errors.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/errors.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/named_pipe.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/named_pipe.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/named_pipe.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/server.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/server.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/server.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/transport.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/transport.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/transport.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/utils.opt-1.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/utils.opt-2.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/utils.pyc
- %%PYTHON_SITELIBDIR%%/pysearpc/client.py
- %%PYTHON_SITELIBDIR%%/pysearpc/common.py
- %%PYTHON_SITELIBDIR%%/pysearpc/errors.py
- %%PYTHON_SITELIBDIR%%/pysearpc/named_pipe.py
- %%PYTHON_SITELIBDIR%%/pysearpc/server.py
- %%PYTHON_SITELIBDIR%%/pysearpc/transport.py
- %%PYTHON_SITELIBDIR%%/pysearpc/utils.py
- libdata/pkgconfig/libsearpc.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| haiwen-libsearpc-3.3.20260612-23d5df6_GH0.tar.gz | 56006 | ea9e89b78361dc75d85400300fc631c470b5d7e35855c38a3e4da55fc7c8428a |
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
93e72627bf |
Michael Osipov | devel/libsearpc: Fix upstream commit version and in configure.ac Reviewed by: [email protected] (maintainer)
Differential Revision: https://reviews.freebsd.org/D58260 |
|
ea7e312a6a |
d.stoye | devel/libsearpc: update to 3.3 Author also agreed to adopt port.
Co-authored-by: Michael Osipov <[email protected]>
Reviewed by: michaelo
Differential Revision: https://reviews.freebsd.org/D58168
Changelog: https://github.com/haiwen/libsearpc/releases/tag/v3.3-latest |