Date: Thu, 30 Sep 1999 12:25:45 -0400 From: James FitzGibbon <james@targetnet.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14058: New port: net/libunpipc Message-ID: <E11Wj1d-0005gt-00@mail.datais.com>
next in thread | raw e-mail | index | archive | help
>Number: 14058 >Category: ports >Synopsis: new port: net/libunpipc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 30 09:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: James FitzGibbon >Release: FreeBSD 3.2-RELEASE i386 >Organization: Targetnet.com Inc. >Environment: >Description: A port of the headers and library described in W. Richard Steven's book "UNIX Network Programming, Volume 2: Interprocess Communication" >How-To-Repeat: shar archive follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libunpipc # libunpipc/pkg # libunpipc/pkg/CVS # libunpipc/pkg/CVS/Root # libunpipc/pkg/CVS/Repository # libunpipc/pkg/CVS/Entries # libunpipc/pkg/COMMENT # libunpipc/pkg/DESCR # libunpipc/pkg/PLIST # libunpipc/files # libunpipc/files/CVS # libunpipc/files/CVS/Root # libunpipc/files/CVS/Repository # libunpipc/files/CVS/Entries # libunpipc/files/md5 # libunpipc/patches # libunpipc/patches/patch-aa # libunpipc/patches/patch-ab # libunpipc/patches/patch-ac # libunpipc/patches/patch-ad # libunpipc/patches/patch-ae # libunpipc/Makefile # echo c - libunpipc mkdir -p libunpipc > /dev/null 2>&1 echo c - libunpipc/pkg mkdir -p libunpipc/pkg > /dev/null 2>&1 echo c - libunpipc/pkg/CVS mkdir -p libunpipc/pkg/CVS > /dev/null 2>&1 echo x - libunpipc/pkg/CVS/Root sed 's/^X//' >libunpipc/pkg/CVS/Root << 'END-of-libunpipc/pkg/CVS/Root' X/home/ncvs END-of-libunpipc/pkg/CVS/Root echo x - libunpipc/pkg/CVS/Repository sed 's/^X//' >libunpipc/pkg/CVS/Repository << 'END-of-libunpipc/pkg/CVS/Repository' X/home/ncvs/ports/net/libnet/pkg END-of-libunpipc/pkg/CVS/Repository echo x - libunpipc/pkg/CVS/Entries sed 's/^X//' >libunpipc/pkg/CVS/Entries << 'END-of-libunpipc/pkg/CVS/Entries' X/COMMENT/1.2/Sun May 9 01:19:12 1999// X/DESCR/1.1.1.1/Sun May 9 01:16:35 1999// X/PLIST/1.2/Wed May 12 08:05:13 1999// XD END-of-libunpipc/pkg/CVS/Entries echo x - libunpipc/pkg/COMMENT sed 's/^X//' >libunpipc/pkg/COMMENT << 'END-of-libunpipc/pkg/COMMENT' XThe networking library used in UNIX Network Programming Volume 2 2e END-of-libunpipc/pkg/COMMENT echo x - libunpipc/pkg/DESCR sed 's/^X//' >libunpipc/pkg/DESCR << 'END-of-libunpipc/pkg/DESCR' Xlibunp is the library used in W. Richard Steven's book "UNIX Network XProgramming Volume 2, 2nd Edition". It contains the library and headers Xused in the examples as well as all programs from the text that compile on XFreeBSD systems. X XFor more information on the book, see X Xhttp://www.phptr.com/ptrbooks/ptr_013490012X.html X XFor more info on W. Richard Stevens, see X Xhttp://www.kohala.com/~rstevens/ END-of-libunpipc/pkg/DESCR echo x - libunpipc/pkg/PLIST sed 's/^X//' >libunpipc/pkg/PLIST << 'END-of-libunpipc/pkg/PLIST' Xinclude/unpipc.h Xinclude/unpipc_config.h Xlib/libunpipc.a END-of-libunpipc/pkg/PLIST echo c - libunpipc/files mkdir -p libunpipc/files > /dev/null 2>&1 echo c - libunpipc/files/CVS mkdir -p libunpipc/files/CVS > /dev/null 2>&1 echo x - libunpipc/files/CVS/Root sed 's/^X//' >libunpipc/files/CVS/Root << 'END-of-libunpipc/files/CVS/Root' X/home/ncvs END-of-libunpipc/files/CVS/Root echo x - libunpipc/files/CVS/Repository sed 's/^X//' >libunpipc/files/CVS/Repository << 'END-of-libunpipc/files/CVS/Repository' X/home/ncvs/ports/net/libnet/files END-of-libunpipc/files/CVS/Repository echo x - libunpipc/files/CVS/Entries sed 's/^X//' >libunpipc/files/CVS/Entries << 'END-of-libunpipc/files/CVS/Entries' X/md5/1.2/Wed May 12 08:05:10 1999// XD END-of-libunpipc/files/CVS/Entries echo x - libunpipc/files/md5 sed 's/^X//' >libunpipc/files/md5 << 'END-of-libunpipc/files/md5' XMD5 (unpv22e.tar.gz) = 668fdb55452859c13b44a7049a40071a END-of-libunpipc/files/md5 echo c - libunpipc/patches mkdir -p libunpipc/patches > /dev/null 2>&1 echo x - libunpipc/patches/patch-aa sed 's/^X//' >libunpipc/patches/patch-aa << 'END-of-libunpipc/patches/patch-aa' X--- Makefile.in.orig Fri Apr 11 18:42:26 1997 X+++ Makefile.in Thu Sep 30 10:24:12 1999 X@@ -1,8 +1,13 @@ X include ./Make.defines X X+SUBDIRS = lib X+ X all: X- @echo "Nothing to make in this directory" X- @echo "Please read the README file" X+ PWD=`pwd`; \ X+ for dir in $(SUBDIRS) ; \ X+ do \ X+ cd $$PWD/$$dir && $(MAKE) && cd .. ;\ X+ done X X clean: X rm -f $(CLEANFILES) END-of-libunpipc/patches/patch-aa echo x - libunpipc/patches/patch-ab sed 's/^X//' >libunpipc/patches/patch-ab << 'END-of-libunpipc/patches/patch-ab' X--- configure.orig Tue Sep 28 11:52:17 1999 X+++ configure Tue Sep 28 11:52:24 1999 X@@ -2894,10 +2894,6 @@ X LIB_OBJS="$LIB_OBJS signal.o" X LIB_OBJS="$LIB_OBJS signal_intr.o" X LIB_OBJS="$LIB_OBJS sleep_us.o" X-if test $ac_cv_have_siginfo_t_struct = yes ; then X- LIB_OBJS="$LIB_OBJS signal_rt.o" X- LIB_OBJS="$LIB_OBJS signal_rt_intr.o" X-fi X if test "$ac_cv_func_snprintf" = no ; then X LIB_OBJS="$LIB_OBJS snprintf.o" X fi END-of-libunpipc/patches/patch-ab echo x - libunpipc/patches/patch-ac sed 's/^X//' >libunpipc/patches/patch-ac << 'END-of-libunpipc/patches/patch-ac' X--- lib/unpipc.h.orig Wed Aug 5 14:20:32 1998 X+++ lib/unpipc.h Thu Sep 30 10:23:56 1999 X@@ -4,7 +4,7 @@ X #ifndef __unpipc_h X #define __unpipc_h X X-#include "../config.h" /* configuration options for current OS */ X+#include <unpipc_config.h> /* configuration options for current OS */ X /* "../config.h" is generated by configure */ X X /* If anything changes in the following list of #includes, must change END-of-libunpipc/patches/patch-ac echo x - libunpipc/patches/patch-ad sed 's/^X//' >libunpipc/patches/patch-ad << 'END-of-libunpipc/patches/patch-ad' X--- lib/Makefile.orig Thu Sep 30 10:33:02 1999 X+++ lib/Makefile Thu Sep 30 10:33:09 1999 X@@ -1,7 +1,7 @@ X include ../Make.defines X X # Following required by Solaris 2.x for Posix version of sigwait(). X-CFLAGS += -D_POSIX_PTHREAD_SEMANTICS X+CFLAGS += -D_POSIX_PTHREAD_SEMANTICS -I.. X X all: ${LIB_OBJS} X ar rv ${LIBUNPIPC_NAME} $? END-of-libunpipc/patches/patch-ad echo x - libunpipc/patches/patch-ae sed 's/^X//' >libunpipc/patches/patch-ae << 'END-of-libunpipc/patches/patch-ae' X--- lib/wrappthread.c.orig Thu Sep 30 11:03:00 1999 X+++ lib/wrappthread.c Thu Sep 30 11:04:50 1999 X@@ -83,17 +83,6 @@ X } X X void X-Pthread_kill(pthread_t tid, int signo) X-{ X- int n; X- X- if ( (n = pthread_kill(tid, signo)) == 0) X- return; X- errno = n; X- err_sys("pthread_kill error"); X-} X- X-void X Pthread_mutexattr_init(pthread_mutexattr_t *attr) X { X int n; X@@ -274,17 +263,6 @@ X return; X errno = n; X err_sys("pthread_key_create error"); X-} X- X-void X-Pthread_setcancelstate(int state, int *oldstate) X-{ X- int n; X- X- if ( (n = pthread_setcancelstate(state, oldstate)) == 0) X- return; X- errno = n; X- err_sys("pthread_setcancelstate error"); X } X X void END-of-libunpipc/patches/patch-ae echo x - libunpipc/Makefile sed 's/^X//' >libunpipc/Makefile << 'END-of-libunpipc/Makefile' X# Ports collection makefile for: libunpipc X# Version required: 1.0 X# Date created: Sept 28, 1999 X# Whom: james@targetnet.com X# X# $FreeBSD$ X# X XDISTNAME= unpv22e XPKGNAME= libunpipc-1.0 XCATEGORIES= net XMASTER_SITES= ftp://ftp.kohala.com/pub/rstevens/ \ X http://compass.net.edu.cn:8000/programming/ X XMAINTAINER= james@targetnet.com X XGNU_CONFIGURE= yes XUSE_GMAKE= yes X X.include <bsd.port.pre.mk> X Xpost-configure: X ln -s ${WRKSRC}/config.h ${WRKSRC}/unpipc_config.h X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/libunpipc.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/lib/unpipc.h ${PREFIX}/include X ${INSTALL_DATA} ${WRKSRC}/config.h ${PREFIX}/include/unpipc_config.h X X.include <bsd.port.post.mk> END-of-libunpipc/Makefile exit >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E11Wj1d-0005gt-00>