diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/libsocket++/Makefile | 32 | ||||
-rw-r--r-- | net/libsocket++/distinfo | 1 | ||||
-rw-r--r-- | net/libsocket++/files/Makefile.lib | 22 | ||||
-rw-r--r-- | net/libsocket++/files/patch-aa | 14 | ||||
-rw-r--r-- | net/libsocket++/files/patch-ab | 12 | ||||
-rw-r--r-- | net/libsocket++/pkg-comment | 1 | ||||
-rw-r--r-- | net/libsocket++/pkg-descr | 13 | ||||
-rw-r--r-- | net/libsocket++/pkg-plist | 16 |
8 files changed, 111 insertions, 0 deletions
diff --git a/net/libsocket++/Makefile b/net/libsocket++/Makefile new file mode 100644 index 0000000..0cec5d8 --- /dev/null +++ b/net/libsocket++/Makefile @@ -0,0 +1,32 @@ +# ex:ts=8 +# Ports collection makefile for: libsocket++ +# Version required: 1.10 +# Date created: Sun Jan 19, 1997 +# Whom: Narvi <narvi@haldjas.folklore.ee> +# David O'Brien (obrien@FreeBSD.org) +# +# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $ +# + +DISTNAME= socket++-1.10 +PKGNAME= libsocket++-1.10 +CATEGORIES= net +MASTER_SITES= ftp://ftp.fh-furtwangen.de/pub/C++-class-libraries/networking/ + +MAINTAINER= narvi@haldjas.folklore.ee + +GNU_CONFIGURE= yes +#NOPROFILE= true + +post-configure: + @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile + +post-install: + @/sbin/ldconfig -m ${PREFIX}/lib +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/libsocket++ + ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/libsocket++ + ${INSTALL_MAN} ${WRKSRC}/socket++.ps ${PREFIX}/share/doc/libsocket++ +.endif + +.include <bsd.port.mk> diff --git a/net/libsocket++/distinfo b/net/libsocket++/distinfo new file mode 100644 index 0000000..26f2d6e --- /dev/null +++ b/net/libsocket++/distinfo @@ -0,0 +1 @@ +MD5 (socket++-1.10.tar.gz) = ce338e33e76edc4b26cb40284947b3a0 diff --git a/net/libsocket++/files/Makefile.lib b/net/libsocket++/files/Makefile.lib new file mode 100644 index 0000000..c012600 --- /dev/null +++ b/net/libsocket++/files/Makefile.lib @@ -0,0 +1,22 @@ +SHLIB_MAJOR= 1 +SHLIB_MINOR= 10 +LIB= socket++ +LIBDIR= ${PREFIX}/lib +INCDIR= ${PREFIX}/include +INFODIR= ${PREFIX}/info +CFLAGS+= -I. + +SRCS= sockstream.C sockinet.C sockunix.C pipestream.C Fork.C \ + echo.C smtp.C ftp.C + +HEADERS=Fork.h echo.h ftp.h pipestream.h protocol.h smtp.h \ + sockinet.h sockstream.h sockunix.h + +afterinstall: + ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \ + ${HEADERS} ${INCDIR} + makeinfo --no-split socket++.texi + ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \ + socket++.info ${INFODIR} + +.include <bsd.lib.mk> diff --git a/net/libsocket++/files/patch-aa b/net/libsocket++/files/patch-aa new file mode 100644 index 0000000..9dcf87b --- /dev/null +++ b/net/libsocket++/files/patch-aa @@ -0,0 +1,14 @@ +*** local.h Tue Oct 8 14:58:35 1996 +--- local.h Tue Oct 8 15:00:07 1996 +*************** +*** 75,81 **** +--- 75,83 ---- + + #if !defined (__linux__) + extern "C" int gethostname (char* hostname, int len); ++ #if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__)) + extern char* SYS_SIGLIST []; ++ #endif + #endif + + #ifdef __osf__ diff --git a/net/libsocket++/files/patch-ab b/net/libsocket++/files/patch-ab new file mode 100644 index 0000000..9bb0197 --- /dev/null +++ b/net/libsocket++/files/patch-ab @@ -0,0 +1,12 @@ +--- sockstream.h.orig Tue Oct 17 17:07:29 1995 ++++ sockstream.h Wed Feb 5 14:04:17 1997 +@@ -119,7 +119,9 @@ + msg_peek = MSG_PEEK, + msg_dontroute = MSG_DONTROUTE, + ++#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__)) + msg_maxiovlen = MSG_MAXIOVLEN ++#endif + }; + enum shuthow { + shut_read, diff --git a/net/libsocket++/pkg-comment b/net/libsocket++/pkg-comment new file mode 100644 index 0000000..ff31339 --- /dev/null +++ b/net/libsocket++/pkg-comment @@ -0,0 +1 @@ +A C++ wrapper library to the sockets diff --git a/net/libsocket++/pkg-descr b/net/libsocket++/pkg-descr new file mode 100644 index 0000000..28c2a75 --- /dev/null +++ b/net/libsocket++/pkg-descr @@ -0,0 +1,13 @@ +Socket++ is a iostream like C++ class library for the UNIX and INET +domains of sockets and protocols. + +Wrappers are also provided for pipe(), socketpair(), popen() and +fork(). + +Included are also "protocol" classes with two examples - echo and +smtp (client only). + +Socket++ is covered by the GPL. + +-Sander +sander@haldjas.folklore.ee diff --git a/net/libsocket++/pkg-plist b/net/libsocket++/pkg-plist new file mode 100644 index 0000000..172e182 --- /dev/null +++ b/net/libsocket++/pkg-plist @@ -0,0 +1,16 @@ +lib/libsocket++.a +lib/libsocket++.so.1.10 +lib/libsocket++_p.a +@exec /sbin/ldconfig -m %D/lib +include/Fork.h +include/echo.h +include/ftp.h +include/pipestream.h +include/protocol.h +include/smtp.h +include/sockinet.h +include/sockstream.h +include/sockunix.h +info/socket++.info +share/doc/libsocket++/README +share/doc/libsocket++/socket++.ps |