Skip site navigation (1)Skip section navigation (2)
Date:      8 Jul 2004 01:40:42 -0000
From:      David Thiel <lx@redundancy.redundancy.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68794: New port: sysutils/ucspi-ipc
Message-ID:  <20040708014042.66345.qmail@redundancy.redundancy.org>
Resent-Message-ID: <200407080150.i681o3hm043032@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68794
>Category:       ports
>Synopsis:       New port: sysutils/ucspi-ipc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 08 01:50:03 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Thiel
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 4.9-STABLE FreeBSD 4.9-STABLE #15: Wed Nov 19 21:41:32 PST 2003 lx@redundancy.redundancy.org:/usr/obj/usr/src/sys/REDUNDANCY i386


>Description:

ucspi-ipc, UCSPI tools for building local-domain client-server 
applications, by William Baxter. From the web page:

ipcserver listens for connections on a local-domain stream socket, and
runs a program for each connection it accepts. The program environment
includes variables that hold the local and remote socket addresses, and
the effective user and group IDs of the process that called connect.
ipcserver offers a concurrency limit on acceptance of new connections,
and selective handling of connections based on client identity.

ipcclient requests a connection to a local-domain socket, and runs a
program. The program environment includes a variable that holds the
local socket address.

ipcperl is an example of an ipchandle server. It invokes a perl
subroutine for each request.

>How-To-Repeat:
>Fix:

# 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:
#
#	ucspi-ipc
#	ucspi-ipc/Makefile
#	ucspi-ipc/distinfo
#	ucspi-ipc/pkg-plist
#	ucspi-ipc/pkg-descr
#
echo c - ucspi-ipc
mkdir -p ucspi-ipc > /dev/null 2>&1
echo x - ucspi-ipc/Makefile
sed 's/^X//' >ucspi-ipc/Makefile << 'END-of-ucspi-ipc/Makefile'
X# New ports collection makefile for:	ucspi-ipc
X# Date created:		2004-07-07
X# Whom:			David Thiel <lx@redundancy.redundancy.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ucspi-ipc
XPORTVERSION=	0.63
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.superscript.com/ucspi-ipc/
X
XMAINTAINER=	lx@redundancy.redundancy.org
XCOMMENT=	UCSPI tools for building local-domain client-server applications
X
XUSE_PERL5=	yes
X
XNO_PACKAGE=	Non-explicit licensing terms
X
XDOCS=		CHANGES
X
XWRKSRC=		${WRKDIR}/host/superscript.com/net/${DISTNAME}
X
Xdo-configure:
X	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=	"requires Perl 5.6.0 or greater. Please install lang/perl5 and retry"
X.endif
X
Xdo-build:
X	cd ${WRKSRC} && package/compile
X
Xdo-install:
X.for x in ipccat ipcconnect ipcdo ipcrun
X	${INSTALL_SCRIPT} ${WRKSRC}/command/${x} ${PREFIX}/bin
X.endfor
X.for x in ipcclient ipccommand ipcconnect-io ipcexec ipcexec-config \
X	ipcexecrules ipcexecrulescheck ipcperl ipcrules ipcrulescheck ipcserver
X	${INSTALL_PROGRAM} ${WRKSRC}/command/${x} ${PREFIX}/bin
X.endfor
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}/src && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-ucspi-ipc/Makefile
echo x - ucspi-ipc/distinfo
sed 's/^X//' >ucspi-ipc/distinfo << 'END-of-ucspi-ipc/distinfo'
XMD5 (ucspi-ipc-0.63.tar.gz) = df518cd5a86e9b5aa8efd4aa0479e6d8
XSIZE (ucspi-ipc-0.63.tar.gz) = 50927
END-of-ucspi-ipc/distinfo
echo x - ucspi-ipc/pkg-plist
sed 's/^X//' >ucspi-ipc/pkg-plist << 'END-of-ucspi-ipc/pkg-plist'
Xbin/ipccat
Xbin/ipcclient
Xbin/ipccommand
Xbin/ipcconnect
Xbin/ipcconnect-io
Xbin/ipcdo
Xbin/ipcexec
Xbin/ipcexec-config
Xbin/ipcexecrules
Xbin/ipcexecrulescheck
Xbin/ipcperl
Xbin/ipcrules
Xbin/ipcrulescheck
Xbin/ipcrun
Xbin/ipcserver
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-ucspi-ipc/pkg-plist
echo x - ucspi-ipc/pkg-descr
sed 's/^X//' >ucspi-ipc/pkg-descr << 'END-of-ucspi-ipc/pkg-descr'
Xipcserver and ipcclient are command-line tools for building local-domain
Xclient-server applications. They conform to the UNIX Client-Server
XProgram Interface, UCSPI.
X
Xipcserver listens for connections on a local-domain stream socket, and
Xruns a program for each connection it accepts. The program environment
Xincludes variables that hold the local and remote socket addresses, and
Xthe effective user and group IDs of the process that called connect.
Xipcserver offers a concurrency limit on acceptance of new connections,
Xand selective handling of connections based on client identity.
X
Xipcclient requests a connection to a local-domain socket, and runs a
Xprogram. The program environment includes a variable that holds the
Xlocal socket address.
X
Xipcperl is an example of an ipchandle server. It invokes a perl
Xsubroutine for each request.
X
XWWW: http://www.superscript.com/ucspi-ipc/intro.html
END-of-ucspi-ipc/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040708014042.66345.qmail>