devel/pstreams 1.0.4 FreeBSD
C++ utility for simple IOStream-based IPC
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSL
- Categories
- devel
- Package size
- 14.5 KiB, 75.5 KiB installed
Description
PStreams allows you to run another program from your C++ application and to transfer data between the two programs similar to shell pipelines.
In the simplest case, a PStreams class is like a C++ wrapper for the POSIX.2 functions popen(3) and pclose(3), using C++ iostreams instead of C's stdio library.
The library provides class templates in the style of the standard iostreams that can be used with any ISO C++ compiler on a POSIX platform. The classes use a streambuf class that uses fork(2) and the exec(2) family of functions to create a new process and creates up to three pipes to write/read data to/from the process.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/pstreams | 1.0.4 |
| NetBSD | devel/pstreams | 1.0.3 |
| DragonFly | devel/pstreams | 1.0.4 |
| HardenedBSD | devel/pstreams | 1.0.4 |
| GhostBSD | devel/pstreams | 1.0.4 |
Install
Binary package:
pkg install pstreams
From the ports tree:
cd /usr/ports/devel/pstreams/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pstreams>0:devel/pstreams
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 | 1.0.4 | 1.0.4 | 0.8.1 | 1.0.4 | 1.0.4 |
| FreeBSD:14:quarterly | 1.0.4 | 1.0.4 | n/a | 1.0.4 | 1.0.4 |
| FreeBSD:15:latest | 1.0.4 | 1.0.4 | n/a | 1.0.4 | 1.0.4 |
| FreeBSD:15:quarterly | 1.0.4 | 1.0.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.4 | 1.0.4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pstreams-1.0.4.tar.gz | 75924 | 9db179cc4ca37dcf21f58b8320e33f626a275df8560c688c88c51797e02a04d6 |
Master sites 1
- SF/pstreams/pstreams/Release%20${PORTVERSION:R}
Commit history 0
No commits in the history this site was built from.