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.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/pstreams: 0.8.0 -> 0.8.1
- pstream.h (basic_ipstream::basic_ipstream(argv_type, pmode):
o Use basic_ipstream::readable(pmode) to correctly set input mode.
o Add initializer-list constructors.
o Make unary constructors explicit.
- test_pstreams.cc:
o Test execve-style construction for ipstream.
PR: 206272
Submitted by: yuri@rawbw.com
Approved by: eg@fbsd.lt (maintainer timeout)
- Update to 0.6.0
- Use SF now and remove DIST_SUBDIR while I am here
PR: ports/132930
Submitted by: Edmondas Girkantas <eg@fbsd.lt>
Approved by: maintainer timeout (two weeks), miwi (mentor)