mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Add ucspi-ipc, UCSPI tools for building local-domain client-server
applications, by William Baxter. PR: ports/68794 Submitted by: David Thiel <lx@redundancy.redundancy.org>
This commit is contained in:
parent
6f1594391c
commit
9601841e29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116050
@ -409,6 +409,7 @@
|
||||
SUBDIR += tree
|
||||
SUBDIR += ttyload
|
||||
SUBDIR += tua
|
||||
SUBDIR += ucspi-ipc
|
||||
SUBDIR += ucspi-ssl
|
||||
SUBDIR += ucspi-tcp
|
||||
SUBDIR += ucspi-unix
|
||||
|
51
sysutils/ucspi-ipc/Makefile
Normal file
51
sysutils/ucspi-ipc/Makefile
Normal file
@ -0,0 +1,51 @@
|
||||
# New ports collection makefile for: ucspi-ipc
|
||||
# Date created: 2004-07-07
|
||||
# Whom: David Thiel <lx@redundancy.redundancy.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ucspi-ipc
|
||||
PORTVERSION= 0.63
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.superscript.com/ucspi-ipc/
|
||||
|
||||
MAINTAINER= lx@redundancy.redundancy.org
|
||||
COMMENT= UCSPI tools for building local-domain client-server applications
|
||||
|
||||
USE_PERL5= yes
|
||||
|
||||
DISABLE_SIZE= yes
|
||||
|
||||
NO_PACKAGE= Non-explicit licensing terms
|
||||
|
||||
DOCS= CHANGES
|
||||
|
||||
WRKSRC= ${WRKDIR}/host/superscript.com/net/${DISTNAME}
|
||||
|
||||
do-configure:
|
||||
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= "requires Perl 5.6.0 or greater. Please install lang/perl5 and retry"
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && package/compile
|
||||
|
||||
do-install:
|
||||
.for x in ipccat ipcconnect ipcdo ipcrun
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/command/${x} ${PREFIX}/bin
|
||||
.endfor
|
||||
.for x in ipcclient ipccommand ipcconnect-io ipcexec ipcexec-config \
|
||||
ipcexecrules ipcexecrulescheck ipcperl ipcrules ipcrulescheck ipcserver
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/command/${x} ${PREFIX}/bin
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/src && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
sysutils/ucspi-ipc/distinfo
Normal file
2
sysutils/ucspi-ipc/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (ucspi-ipc-0.63.tar.gz) = df518cd5a86e9b5aa8efd4aa0479e6d8
|
||||
SIZE (ucspi-ipc-0.63.tar.gz) = 50927
|
19
sysutils/ucspi-ipc/pkg-descr
Normal file
19
sysutils/ucspi-ipc/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
ipcserver and ipcclient are command-line tools for building local-domain
|
||||
client-server applications. They conform to the UNIX Client-Server
|
||||
Program Interface, UCSPI.
|
||||
|
||||
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.
|
||||
|
||||
WWW: http://www.superscript.com/ucspi-ipc/intro.html
|
17
sysutils/ucspi-ipc/pkg-plist
Normal file
17
sysutils/ucspi-ipc/pkg-plist
Normal file
@ -0,0 +1,17 @@
|
||||
bin/ipccat
|
||||
bin/ipcclient
|
||||
bin/ipccommand
|
||||
bin/ipcconnect
|
||||
bin/ipcconnect-io
|
||||
bin/ipcdo
|
||||
bin/ipcexec
|
||||
bin/ipcexec-config
|
||||
bin/ipcexecrules
|
||||
bin/ipcexecrulescheck
|
||||
bin/ipcperl
|
||||
bin/ipcrules
|
||||
bin/ipcrulescheck
|
||||
bin/ipcrun
|
||||
bin/ipcserver
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user