Import wvstreams-4.5.1 as wip/wvstreams.
WvStreams is a network programming library in C++. It was constructed over the lifetime of the NetIntegrator mostly by apenwarr but also with tons of help from dcoombs and other members of Net Integration R&D. The version of WvStreams you see on this site is currently maintained by the AlumNit group. WvStreams aims to be an efficient, secure, easy-to-use, and OS-independent library for doing network applications development, and we think that it has pretty much lived up to those goals. Currently all or parts of it work under Linux, *BSD, Solaris, and MAC OS X. Some parts have been ported to Windows, with a more complete port coming really soon. Most people who have read WvStreams-based code seem to be very impressed with how readable it makes application programs. It would have been impossible to build WvDial, TunnelVision, Retchmail, and the rest of the programs found on this site as quickly as we did without a good framework library. Currently, what documentation exists is a bit sporadic. The header files from the source code are fairly well documented, and, for those looking for examples, all of the programs on this site have been developed using this library, so you should be able to get some ideas from them.
This commit is contained in:
parent
24c8d570d7
commit
1d14f49ffc
5 changed files with 309 additions and 0 deletions
20
wvstreams/DESCR
Normal file
20
wvstreams/DESCR
Normal file
|
@ -0,0 +1,20 @@
|
|||
WvStreams is a network programming library in C++. It was constructed over the
|
||||
lifetime of the NetIntegrator mostly by apenwarr but also with tons of help
|
||||
from dcoombs and other members of Net Integration R&D. The version of
|
||||
WvStreams you see on this site is currently maintained by the AlumNit group.
|
||||
|
||||
WvStreams aims to be an efficient, secure, easy-to-use, and OS-independent
|
||||
library for doing network applications development, and we think that it has
|
||||
pretty much lived up to those goals. Currently all or parts of it work under
|
||||
Linux, *BSD, Solaris, and MAC OS X. Some parts have been ported to Windows,
|
||||
with a more complete port coming really soon.
|
||||
|
||||
Most people who have read WvStreams-based code seem to be very impressed with
|
||||
how readable it makes application programs. It would have been impossible to
|
||||
build WvDial, TunnelVision, Retchmail, and the rest of the programs found on
|
||||
this site as quickly as we did without a good framework library.
|
||||
|
||||
Currently, what documentation exists is a bit sporadic. The header files from
|
||||
the source code are fairly well documented, and, for those looking for examples,
|
||||
all of the programs on this site have been developed using this library, so you
|
||||
should be able to get some ideas from them.
|
34
wvstreams/Makefile
Normal file
34
wvstreams/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2009/03/11 14:14:51 udontknow Exp $
|
||||
#
|
||||
|
||||
DISTNAME= wvstreams-4.5.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://wvstreams.googlecode.com/files/
|
||||
|
||||
MAINTAINER= evaldo@gardenali.biz
|
||||
HOMEPAGE= http://wvstreams.googlecode.com/files/
|
||||
COMMENT= WvStreams is a network programming library in C++
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= gmake pkg-config
|
||||
USE_LANGUAGES= c c++
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
EGDIR= ${PREFIX}/share/examples/wvstreams
|
||||
CONF_FILES= ${EGDIR}/uniconf.conf ${PKG_SYSCONFDIR}/uniconf.conf
|
||||
|
||||
SUBST_CLASSES+= etc
|
||||
SUBST_STAGE.etc= pre-install
|
||||
SUBST_FILES.etc= install.mk
|
||||
SUBST_SED.etc= -e 's:$$(sysconfdir):${EGDIR}:g'
|
||||
SUBST_MESSAGE.etc= Fixing examples directory
|
||||
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/libwvtest.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/libwvstreams.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/libwvbase.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/libwvdbus.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/libwvutils.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/libuniconf.pc.in
|
||||
PKGCONFIG_OVERRIDE+= pkgconfig/libwvqt.pc.in
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
246
wvstreams/PLIST
Normal file
246
wvstreams/PLIST
Normal file
|
@ -0,0 +1,246 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/11 14:14:51 udontknow Exp $
|
||||
bin/uni
|
||||
bin/wvtestrunner.pl
|
||||
include/wvstreams/fileutils.h
|
||||
include/wvstreams/ftpparse.h
|
||||
include/wvstreams/if_arp.h
|
||||
include/wvstreams/iwvlistener.h
|
||||
include/wvstreams/iwvstream.h
|
||||
include/wvstreams/pwvstream.h
|
||||
include/wvstreams/strutils.h
|
||||
include/wvstreams/uniautogen.h
|
||||
include/wvstreams/unibachelorgen.h
|
||||
include/wvstreams/unicachegen.h
|
||||
include/wvstreams/unicallbackgen.h
|
||||
include/wvstreams/uniclientconn.h
|
||||
include/wvstreams/uniclientgen.h
|
||||
include/wvstreams/uniconfdaemonconn.h
|
||||
include/wvstreams/uniconfdaemon.h
|
||||
include/wvstreams/uniconfgen.h
|
||||
include/wvstreams/uniconf.h
|
||||
include/wvstreams/uniconfkey.h
|
||||
include/wvstreams/uniconfpair.h
|
||||
include/wvstreams/uniconfpamconn.h
|
||||
include/wvstreams/uniconfroot.h
|
||||
include/wvstreams/uniconftree.h
|
||||
include/wvstreams/unidefgen.h
|
||||
include/wvstreams/unifastregetgen.h
|
||||
include/wvstreams/unifilesystemgen.h
|
||||
include/wvstreams/unifiltergen.h
|
||||
include/wvstreams/unihashtree.h
|
||||
include/wvstreams/uniinigen.h
|
||||
include/wvstreams/unilistgen.h
|
||||
include/wvstreams/unilistiter.h
|
||||
include/wvstreams/unimountgen.h
|
||||
include/wvstreams/uninullgen.h
|
||||
include/wvstreams/unipermgen.h
|
||||
include/wvstreams/unipstoregen.h
|
||||
include/wvstreams/unireadonlygen.h
|
||||
include/wvstreams/uniregistrygen.h
|
||||
include/wvstreams/unireplicategen.h
|
||||
include/wvstreams/uniretrygen.h
|
||||
include/wvstreams/unisecuregen.h
|
||||
include/wvstreams/unislowgen.h
|
||||
include/wvstreams/unisubtreegen.h
|
||||
include/wvstreams/unitempgen.h
|
||||
include/wvstreams/unitransactiongen.h
|
||||
include/wvstreams/unitransaction.h
|
||||
include/wvstreams/uniunwrapgen.h
|
||||
include/wvstreams/uniwatch.h
|
||||
include/wvstreams/uniwvconfgen.h
|
||||
include/wvstreams/verstring.h
|
||||
include/wvstreams/wvaddr.h
|
||||
include/wvstreams/wvargs.h
|
||||
include/wvstreams/wvassert.h
|
||||
include/wvstreams/wvatomicfile.h
|
||||
include/wvstreams/wvattrs.h
|
||||
include/wvstreams/wvautoconf.h
|
||||
include/wvstreams/wvbackslash.h
|
||||
include/wvstreams/wvbase64.h
|
||||
include/wvstreams/wvbellpull.h
|
||||
include/wvstreams/wvblowfish.h
|
||||
include/wvstreams/wvbufbase.h
|
||||
include/wvstreams/wvbuf.h
|
||||
include/wvstreams/wvbufstore.h
|
||||
include/wvstreams/wvbufstream.h
|
||||
include/wvstreams/wvcallbacklist.h
|
||||
include/wvstreams/wvcolorlogconsole.h
|
||||
include/wvstreams/wvconfemu.h
|
||||
include/wvstreams/wvconf.h
|
||||
include/wvstreams/wvcont.h
|
||||
include/wvstreams/wvcountermode.h
|
||||
include/wvstreams/wvcrash.h
|
||||
include/wvstreams/wvcrashlog.h
|
||||
include/wvstreams/wvcrl.h
|
||||
include/wvstreams/wvcrypto.h
|
||||
include/wvstreams/wvdaemon.h
|
||||
include/wvstreams/wvdailyevent.h
|
||||
include/wvstreams/wvdbusconn.h
|
||||
include/wvstreams/wvdbusmsg.h
|
||||
include/wvstreams/wvdbusserver.h
|
||||
include/wvstreams/wvdelayedcallback.h
|
||||
include/wvstreams/wvdiffiehellman.h
|
||||
include/wvstreams/wvdigest.h
|
||||
include/wvstreams/wvdiriter.h
|
||||
include/wvstreams/wvdsa.h
|
||||
include/wvstreams/wvencoder.h
|
||||
include/wvstreams/wvencoderstream.h
|
||||
include/wvstreams/wverror.h
|
||||
include/wvstreams/wvfdstream.h
|
||||
include/wvstreams/wvfile.h
|
||||
include/wvstreams/wvfileutils.h
|
||||
include/wvstreams/wvfork.h
|
||||
include/wvstreams/wvfunctorencoder.h
|
||||
include/wvstreams/wvglobdiriter.h
|
||||
include/wvstreams/wvglob.h
|
||||
include/wvstreams/wvgzip.h
|
||||
include/wvstreams/wvgzipstream.h
|
||||
include/wvstreams/wvhash.h
|
||||
include/wvstreams/wvhashtable.h
|
||||
include/wvstreams/wvhex.h
|
||||
include/wvstreams/wvhttppool.h
|
||||
include/wvstreams/wvinterface.h
|
||||
include/wvstreams/wvipaddrtable.h
|
||||
include/wvstreams/wvipaliaser.h
|
||||
include/wvstreams/wvipfirewall.h
|
||||
include/wvstreams/wvipnetlist.h
|
||||
include/wvstreams/wvipraw.h
|
||||
include/wvstreams/wviproute.h
|
||||
include/wvstreams/wvistreamlist.h
|
||||
include/wvstreams/wvlinkerhack.h
|
||||
include/wvstreams/wvlink.h
|
||||
include/wvstreams/wvlinklist.h
|
||||
include/wvstreams/wvlistener.h
|
||||
include/wvstreams/wvlockdev.h
|
||||
include/wvstreams/wvlockfile.h
|
||||
include/wvstreams/wvlogbuffer.h
|
||||
include/wvstreams/wvlogfile.h
|
||||
include/wvstreams/wvlog.h
|
||||
include/wvstreams/wvlogrcv.h
|
||||
include/wvstreams/wvlogstream.h
|
||||
include/wvstreams/wvloopback2.h
|
||||
include/wvstreams/wvloopback.h
|
||||
include/wvstreams/wvmagiccircle.h
|
||||
include/wvstreams/wvmagicloopback.h
|
||||
include/wvstreams/wvmatrix.h
|
||||
include/wvstreams/wvmodem.h
|
||||
include/wvstreams/wvmoniker.h
|
||||
include/wvstreams/wvmonikerregistry.h
|
||||
include/wvstreams/wvoakley.h
|
||||
include/wvstreams/wvocsp.h
|
||||
include/wvstreams/wvpam.h
|
||||
include/wvstreams/wvpipe.h
|
||||
include/wvstreams/wvprociter.h
|
||||
include/wvstreams/wvprotostream.h
|
||||
include/wvstreams/wvpty.h
|
||||
include/wvstreams/wvpushdir.h
|
||||
include/wvstreams/wvqthook.h
|
||||
include/wvstreams/wvqtstreamclone.h
|
||||
include/wvstreams/wvrateadjust.h
|
||||
include/wvstreams/wvregex.h
|
||||
include/wvstreams/wvresolver.h
|
||||
include/wvstreams/wvrsa.h
|
||||
include/wvstreams/wvscatterhash.h
|
||||
include/wvstreams/wvserialize.h
|
||||
include/wvstreams/wvshmzone.h
|
||||
include/wvstreams/wvsocketpair.h
|
||||
include/wvstreams/wvsorter.h
|
||||
include/wvstreams/wvsslhacks.h
|
||||
include/wvstreams/wvsslstream.h
|
||||
include/wvstreams/wvstdstring.h
|
||||
include/wvstreams/wvstreamclone.h
|
||||
include/wvstreams/wvstream.h
|
||||
include/wvstreams/wvstreamsdaemon.h
|
||||
include/wvstreams/wvstreamsdebugger.h
|
||||
include/wvstreams/wvstreamsdebuggerserver.h
|
||||
include/wvstreams/wvstringcache.h
|
||||
include/wvstreams/wvstring.h
|
||||
include/wvstreams/wvstringlist.h
|
||||
include/wvstreams/wvstringmask.h
|
||||
include/wvstreams/wvstringtable.h
|
||||
include/wvstreams/wvstrutils.h
|
||||
include/wvstreams/wvsubproc.h
|
||||
include/wvstreams/wvsubprocqueue.h
|
||||
include/wvstreams/wvsubprocqueuestream.h
|
||||
include/wvstreams/wvsyslog.h
|
||||
include/wvstreams/wvsystem.h
|
||||
include/wvstreams/wvtask.h
|
||||
include/wvstreams/wvtclstring.h
|
||||
include/wvstreams/wvtcp.h
|
||||
include/wvstreams/wvtcplistener.h
|
||||
include/wvstreams/wvtest.h
|
||||
include/wvstreams/wvtimeoutstream.h
|
||||
include/wvstreams/wvtimestream.h
|
||||
include/wvstreams/wvtimeutils.h
|
||||
include/wvstreams/wvtr1.h
|
||||
include/wvstreams/wvtripledes.h
|
||||
include/wvstreams/wvtundev.h
|
||||
include/wvstreams/wvtypedencoder.h
|
||||
include/wvstreams/wvtypetraits.h
|
||||
include/wvstreams/wvudp.h
|
||||
include/wvstreams/wvuid.h
|
||||
include/wvstreams/wvunixdgsocket.h
|
||||
include/wvstreams/wvunixlistener.h
|
||||
include/wvstreams/wvunixsocket.h
|
||||
include/wvstreams/wvurl.h
|
||||
include/wvstreams/wvverstring.h
|
||||
include/wvstreams/wvwin32-sanitize.h
|
||||
include/wvstreams/wvwin32task.h
|
||||
include/wvstreams/wvwindebuglog.h
|
||||
include/wvstreams/wvwinstreamclone.h
|
||||
include/wvstreams/wvwordwrap.h
|
||||
include/wvstreams/wvx509.h
|
||||
include/wvstreams/wvx509mgr.h
|
||||
include/wvstreams/wvxor.h
|
||||
include/wvstreams/wvxplc.h
|
||||
include/wvstreams/xplc/core.h
|
||||
include/wvstreams/xplc/delete.h
|
||||
include/wvstreams/xplc/factory.h
|
||||
include/wvstreams/xplc/ICategory.h
|
||||
include/wvstreams/xplc/ICategoryIterator.h
|
||||
include/wvstreams/xplc/ICategoryManager.h
|
||||
include/wvstreams/xplc/IFactory.h
|
||||
include/wvstreams/xplc/IModule.h
|
||||
include/wvstreams/xplc/IModuleLoader.h
|
||||
include/wvstreams/xplc/IModuleManagerFactory.h
|
||||
include/wvstreams/xplc/IMoniker.h
|
||||
include/wvstreams/xplc/IMonikerService.h
|
||||
include/wvstreams/xplc/IObject.h
|
||||
include/wvstreams/xplc/IServiceHandler.h
|
||||
include/wvstreams/xplc/IServiceManager.h
|
||||
include/wvstreams/xplc/IStaticServiceHandler.h
|
||||
include/wvstreams/xplc/IWeakRef.h
|
||||
include/wvstreams/xplc/module.h
|
||||
include/wvstreams/xplc/ptr.h
|
||||
include/wvstreams/xplc/trace.h
|
||||
include/wvstreams/xplc/utils.h
|
||||
include/wvstreams/xplc/uuid.h
|
||||
include/wvstreams/xplc/uuidops.h
|
||||
include/wvstreams/xplc/xplc.h
|
||||
lib/libuniconf.so
|
||||
lib/libuniconf.so.4.5
|
||||
lib/libwvbase.so
|
||||
lib/libwvbase.so.4.5
|
||||
lib/libwvstatic.a
|
||||
lib/libwvstreams.so
|
||||
lib/libwvstreams.so.4.5
|
||||
lib/libwvtest.a
|
||||
lib/libwvutils.so
|
||||
lib/libwvutils.so.4.5
|
||||
lib/pkgconfig/libuniconf.${LOWER_VENDOR}
|
||||
lib/pkgconfig/libwvbase.${LOWER_VENDOR}
|
||||
lib/pkgconfig/libwvdbus.${LOWER_VENDOR}
|
||||
lib/pkgconfig/libwvqt.${LOWER_VENDOR}
|
||||
lib/pkgconfig/libwvstreams.${LOWER_VENDOR}
|
||||
lib/pkgconfig/libwvtest.${LOWER_VENDOR}
|
||||
lib/pkgconfig/libwvutils.${LOWER_VENDOR}
|
||||
lib/valgrind/wvstreams.supp
|
||||
man/man8/uni.8
|
||||
man/man8/uniconfd.8
|
||||
sbin/uniconfd
|
||||
share/examples/wvstreams/uniconf.conf
|
||||
var/lib/uniconf/uniconfd.ini
|
||||
@dirrm share/examples/wvstreams
|
||||
@dirrm lib/valgrind
|
||||
@dirrm include/wvstreams/xplc
|
||||
@dirrm include/wvstreams
|
4
wvstreams/TODO
Normal file
4
wvstreams/TODO
Normal file
|
@ -0,0 +1,4 @@
|
|||
$Id: TODO,v 1.1.1.1 2009/03/11 14:14:51 udontknow Exp $
|
||||
|
||||
Try it out, at least in Linux and NetBSD
|
||||
|
5
wvstreams/distinfo
Normal file
5
wvstreams/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2009/03/11 14:14:51 udontknow Exp $
|
||||
|
||||
SHA1 (wvstreams-4.5.1.tar.gz) = bd8c270cf831c54776e8d06bdd8dcf48b21917de
|
||||
RMD160 (wvstreams-4.5.1.tar.gz) = 9cc10eb8baaea4a5cb4f71e6ed1e7de878c2ecc0
|
||||
Size (wvstreams-4.5.1.tar.gz) = 1068569 bytes
|
Loading…
Reference in a new issue