From d671cca645ecc7234a5cdade8a3360568e8cb70b Mon Sep 17 00:00:00 2001 From: naddy Date: Sat, 2 Oct 2004 23:53:15 +0000 Subject: [PATCH] Import ipsvd 0.9.6; from Lars Hansson . ipsvd is a set of internet protocol service daemons for Unix. It currently includes a TCP/IP service daemon, and a UDP/IP service daemon. --- net/ipsvd/Makefile | 54 +++++++++++++++++++++++++++++++++++++++++++++ net/ipsvd/distinfo | 3 +++ net/ipsvd/pkg/DESCR | 14 ++++++++++++ net/ipsvd/pkg/PLIST | 23 +++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 net/ipsvd/Makefile create mode 100644 net/ipsvd/distinfo create mode 100644 net/ipsvd/pkg/DESCR create mode 100644 net/ipsvd/pkg/PLIST diff --git a/net/ipsvd/Makefile b/net/ipsvd/Makefile new file mode 100644 index 00000000000..4844970869c --- /dev/null +++ b/net/ipsvd/Makefile @@ -0,0 +1,54 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/10/02 23:53:15 naddy Exp $ + +COMMENT= "set of internet protocol service daemons for Unix" + +DISTNAME= ipsvd-0.9.6 +CATEGORIES= net + +HOMEPAGE= http://www.smarden.org/ipsvd/ + +MAINTAINER= Lars Hansson + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE} +WRKDIST= ${WRKDIR}/net/ipsvd-0.9.6 +WRKSRC= ${WRKDIST}/src +SBINPROGRAMS= ipsvd-cdb tcpsvd udpsvd +MAN8PAGES= ipsvd-cdb.8 tcpsvd.8 udpsvd.8 +DOCS= benefits.html ipsvd-cdb.8.html tcpsvd.8.html \ + examples.html ipsvd-instruct.5.html udpsvd.8.html \ + index.html ipsvd.7.html upgrade.html install.html +PKGDOCS= CHANGES README COPYING + +pre-build: + echo "${CC} ${CFLAGS} ${COPTS}" > ${WRKSRC}/conf-cc + echo "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld + +do-build: + cd ${WRKDIST} && package/compile + +do-regress: + cd ${WRKDIST}/compile && make check + +do-install: +.for pgm in ${SBINPROGRAMS} + ${INSTALL_PROGRAM} ${WRKDIST}/command/${pgm} ${PREFIX}/sbin/ +.endfor +.for page in ${MAN8PAGES} + ${INSTALL_MAN} ${WRKDIST}/man/${page} ${PREFIX}/man/man8/ +.endfor + ${INSTALL_MAN} ${WRKDIST}/man/ipsvd.7 ${PREFIX}/man/man7/ + ${INSTALL_MAN} ${WRKDIST}/man/ipsvd-instruct.5 ${PREFIX}/man/man5/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ipsvd +.for doc in ${DOCS} + ${INSTALL_DATA} ${WRKDIST}/doc/${doc} ${PREFIX}/share/doc/ipsvd/ +.endfor +.for doc in ${PKGDOCS} + ${INSTALL_DATA} ${WRKDIST}/package/${doc} ${PREFIX}/share/doc/ipsvd/ +.endfor + +.include diff --git a/net/ipsvd/distinfo b/net/ipsvd/distinfo new file mode 100644 index 00000000000..fdc01afbc37 --- /dev/null +++ b/net/ipsvd/distinfo @@ -0,0 +1,3 @@ +MD5 (ipsvd-0.9.6.tar.gz) = 739fea23a9fde897b09bd014f94fbf2f +RMD160 (ipsvd-0.9.6.tar.gz) = 6bdff844060ae993f5a11aa4bb7770f1e1199c61 +SHA1 (ipsvd-0.9.6.tar.gz) = 1c9b464f14329244cee88459614322a4d85dc31b diff --git a/net/ipsvd/pkg/DESCR b/net/ipsvd/pkg/DESCR new file mode 100644 index 00000000000..3c5d19f97b7 --- /dev/null +++ b/net/ipsvd/pkg/DESCR @@ -0,0 +1,14 @@ +ipsvd is a set of internet protocol service daemons for Unix. 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; for new connections, it conditionally +runs an arbitrary program with standard input reading from the +socket, and standard output writing to the socket (if connected), +to handle 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; based on the client's IP +address or hostname, they can run different programs, set a different +environment, deny a connection, or set a per host concurrency limit. diff --git a/net/ipsvd/pkg/PLIST b/net/ipsvd/pkg/PLIST new file mode 100644 index 00000000000..9540095504f --- /dev/null +++ b/net/ipsvd/pkg/PLIST @@ -0,0 +1,23 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/10/02 23:53:15 naddy Exp $ +@man man/man5/ipsvd-instruct.5 +@man man/man7/ipsvd.7 +@man man/man8/ipsvd-cdb.8 +@man man/man8/tcpsvd.8 +@man man/man8/udpsvd.8 +sbin/ipsvd-cdb +sbin/tcpsvd +sbin/udpsvd +share/doc/ipsvd/ +share/doc/ipsvd/CHANGES +share/doc/ipsvd/COPYING +share/doc/ipsvd/README +share/doc/ipsvd/benefits.html +share/doc/ipsvd/examples.html +share/doc/ipsvd/index.html +share/doc/ipsvd/install.html +share/doc/ipsvd/ipsvd-cdb.8.html +share/doc/ipsvd/ipsvd-instruct.5.html +share/doc/ipsvd/ipsvd.7.html +share/doc/ipsvd/tcpsvd.8.html +share/doc/ipsvd/udpsvd.8.html +share/doc/ipsvd/upgrade.html