BSD Ports

devel/st 1.9_2 MidnightBSD

State Threads Library for Internet Applications

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
MPL20
Categories
devel

Description

The State Threads is a small application library which provides a foundation for writing fast and highly scalable Internet applications (such as web servers, proxy servers, mail transfer agents, and so on) on UNIX-like platforms. It combines the simplicity of the multithreaded programming paradigm, in which one thread supports each simultaneous connection, with the performance and scalability of an event-driven state machine architecture. In other words, this library offers a threading API for structuring an Internet application as a state machine.

The State Threads library is a derivative of the Netscape Portable Runtime library (NSPR).

In the other systems

SystemPortVersion
MidnightBSDdevel/st1.9_2
FreeBSDdevel/st1.9_2
OpenBSDx11/st0.9.3
NetBSDdevel/st1.9nb1
DragonFlydevel/st1.9_2
HardenedBSDdevel/st1.9_2
GhostBSDdevel/st1.9_2

Install

Binary package:

mport install st

From mports:

cd /usr/mports/devel/st && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	st>0:devel/st
LIB_DEPENDS=	libst.so:devel/st

Dependencies

No port depends on this one.

Configuration

Options name: devel_st

OptionDefaultDescription
DOCSoff
EXAMPLESoff
USES
uidfix
Service scripts
none

Files

pkg-plist 18
  • include/st.h
  • lib/libst.a
  • lib/libst.so.1
  • lib/libst.so
  • share/doc/st/fig.gif
  • share/doc/st/notes.html
  • share/doc/st/reference.html
  • share/doc/st/st.html
  • share/doc/st/timeout_heap.txt
  • share/examples/st/Makefile
  • share/examples/st/README
  • share/examples/st/error.c
  • share/examples/st/lookupdns.c
  • share/examples/st/proxy.c
  • share/examples/st/res.c
  • share/examples/st/server.c
  • @dirrm share/examples/st
  • @dirrm share/doc/st
distinfo 1
FileSizeSHA256
st-1.9.tar.gz108756b10d6f25bded6fedd5d22d950fc60ae137f363e14456e35ba7b295e0924a7db1
Master sites 1
  • SF/state-threads/state-threads/1.9