BSD Ports

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

SystemPortVersion
FreeBSDdevel/pstreams1.0.4
NetBSDdevel/pstreams1.0.3
DragonFlydevel/pstreams1.0.4
HardenedBSDdevel/pstreams1.0.4
GhostBSDdevel/pstreams1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.41.0.40.8.11.0.41.0.4
FreeBSD:14:quarterly1.0.41.0.4n/a1.0.41.0.4
FreeBSD:15:latest1.0.41.0.4n/a1.0.41.0.4
FreeBSD:15:quarterly1.0.41.0.4n/an/an/a
FreeBSD:16:latest1.0.41.0.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
pstreams-1.0.4.tar.gz759249db179cc4ca37dcf21f58b8320e33f626a275df8560c688c88c51797e02a04d6
Master sites 1
  • SF/pstreams/pstreams/Release%20${PORTVERSION:R}

Commit history 0

No commits in the history this site was built from.