Date: 5 May 2003 21:26:31 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/51814: [NEW PORT] net/ipsvd: Internet protocol service daemons Message-ID: <20030505212631.6233.qmail@kolobov.com> Resent-Message-ID: <200305052130.h45LUGJK004101@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51814 >Category: ports >Synopsis: [NEW PORT] net/ipsvd: Internet protocol service daemons >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: Mon May 05 14:30:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Apr 13 01:13:44 MSD 2003 >Description: ipsvd is a set of internet protocol service daemons. It currently includes a TCP/IP service daemon, and a UDP/IP service daemon. An internet protocol service (ipsv) daemon waits for incoming connections on a local socket. On incoming connections, the ipsv daemon conditionally runs an arbitrary program with standard input reading from the socket, and standard output writing to the socket, that handles the connection. Standard error is used for logging. ipsv daemons can be told to read and follow pre-defined instructions on how to handle incoming connections. It's possible to run different programs, or to set a different environment, or to deny a connection, or to set a per host concurrency limit, depending on the client's address or hostname. Normally the ipsv daemons are run by a supervisor process, such as runsv from the runit package, or supervise from the daemontools package. ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver. Author: Gerrit Pape <pape@smarden.org> WWW: http://smarden.org/ipsvd/ Tested on: -STABLE, -CURRENT (i386) This port requires devel/libdjbdns (submitted earlier). >How-To-Repeat: >Fix: --- ipsvd.shar begins here --- # 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: # # ipsvd # ipsvd/Makefile # ipsvd/distinfo # ipsvd/pkg-descr # ipsvd/pkg-plist # ipsvd/files # ipsvd/files/patch-src::tcpsvd.c # echo c - ipsvd mkdir -p ipsvd > /dev/null 2>&1 echo x - ipsvd/Makefile sed 's/^X//' >ipsvd/Makefile << 'END-of-ipsvd/Makefile' X# New ports collection makefile for: ipsvd X# Date created: 01 Apr 2002 X# Whom: Sergei Kolobov <sergei@kolobov.com> X# X# $FreeBSD$ X# X XPORTNAME= ipsvd XPORTVERSION= 0.4.0 XCATEGORIES= net XMASTER_SITES= http://smarden.org/ipsvd/ X XMAINTAINER= sergei@kolobov.com XCOMMENT= Internet protocol service daemons X XBUILD_DEPENDS= ${LIBDJBDNS_ROOT}/lib/libdjbdns.a:${PORTSDIR}/devel/libdjbdns X XLIBDJBDNS_ROOT?= ${LOCALBASE} X XWRKSRC= ${WRKDIR}/net/${DISTNAME} XALL_TARGET= default X XMAN5= ipsvd-instruct.5 XMAN7= ipsvd.7 XMAN8= ipsvd-cdb.8 tcpsvd.8 udpsvd.8 XDOCS= package/CHANGES package/COPYING package/README doc/*.html X Xdo-configure: X @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc X @${ECHO_CMD} "${LIBDJBDNS_ROOT}/include" > ${WRKSRC}/src/conf-djbdnsinc X @${ECHO_CMD} "${LIBDJBDNS_ROOT}/lib" > ${WRKSRC}/src/conf-djbdnslib X Xdo-build: X cd ${WRKSRC} && package/compile X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/sbin X.for n in 5 7 8 X ${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${MANPREFIX}/man/man${n} X.endfor X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-ipsvd/Makefile echo x - ipsvd/distinfo sed 's/^X//' >ipsvd/distinfo << 'END-of-ipsvd/distinfo' XMD5 (ipsvd-0.4.0.tar.gz) = 219ea77de14a5b059b8dfce83bf08cc4 END-of-ipsvd/distinfo echo x - ipsvd/pkg-descr sed 's/^X//' >ipsvd/pkg-descr << 'END-of-ipsvd/pkg-descr' Xipsvd is a set of internet protocol service daemons. XIt currently includes a TCP/IP service daemon, and a UDP/IP service daemon. X XAn internet protocol service (ipsv) daemon waits for incoming connections Xon a local socket. On incoming connections, the ipsv daemon conditionally Xruns an arbitrary program with standard input reading from the socket, and Xstandard output writing to the socket, that handles the connection. XStandard error is used for logging. X Xipsv daemons can be told to read and follow pre-defined instructions on Xhow to handle incoming connections. It's possible to run different Xprograms, or to set a different environment, or to deny a connection, or Xto set a per host concurrency limit, depending on the client's address or Xhostname. X XNormally the ipsv daemons are run by a supervisor process, such as runsv Xfrom the runit package, or supervise from the daemontools package. X Xipsvd can be used to run services normally run by inetd, xinetd, or tcpserver. X XAuthor: Gerrit Pape <pape@smarden.org> XWWW: http://smarden.org/ipsvd/ END-of-ipsvd/pkg-descr echo x - ipsvd/pkg-plist sed 's/^X//' >ipsvd/pkg-plist << 'END-of-ipsvd/pkg-plist' Xsbin/ipsvd-cdb Xsbin/tcpsvd Xsbin/udpsvd X%%PORTDOCS%%%%DOCSDIR%%/CHANGES X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/examples.html X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%DOCSDIR%%/install.html X%%PORTDOCS%%%%DOCSDIR%%/ipsvd-cdb.8.html X%%PORTDOCS%%%%DOCSDIR%%/ipsvd-instruct.5.html X%%PORTDOCS%%%%DOCSDIR%%/ipsvd.7.html X%%PORTDOCS%%%%DOCSDIR%%/tcpsvd.8.html X%%PORTDOCS%%%%DOCSDIR%%/udpsvd.8.html X%%PORTDOCS%%%%DOCSDIR%%/usedietlibc.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-ipsvd/pkg-plist echo c - ipsvd/files mkdir -p ipsvd/files > /dev/null 2>&1 echo x - ipsvd/files/patch-src::tcpsvd.c sed 's/^X//' >ipsvd/files/patch-src::tcpsvd.c << 'END-of-ipsvd/files/patch-src::tcpsvd.c' X--- src/tcpsvd.c.orig Tue May 6 00:58:40 2003 X+++ src/tcpsvd.c Tue May 6 00:58:59 2003 X@@ -1,3 +1,4 @@ X+#include <sys/types.h> X #include <sys/socket.h> X #include <netinet/in.h> X #include <unistd.h> END-of-ipsvd/files/patch-src::tcpsvd.c exit --- ipsvd.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030505212631.6233.qmail>