aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipsvd
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-12 09:23:21 +0800
committerpetef <petef@FreeBSD.org>2003-05-12 09:23:21 +0800
commit453798db94c1b80a8658f4bb8a5fe02fc4f20e3f (patch)
treee5521b4f645e042b1b9b145a94e1cb825f70ef27 /net/ipsvd
parent609181ab9a05472a56cce0677066d78d21007f17 (diff)
downloadfreebsd-ports-gnome-453798db94c1b80a8658f4bb8a5fe02fc4f20e3f.tar.gz
freebsd-ports-gnome-453798db94c1b80a8658f4bb8a5fe02fc4f20e3f.tar.zst
freebsd-ports-gnome-453798db94c1b80a8658f4bb8a5fe02fc4f20e3f.zip
Add ipsvd 0.4.0, internet protocol service daemons.
PR: 51814 Submitted by: Sergei Kolobov <sergei@kolobov.com>
Diffstat (limited to 'net/ipsvd')
-rw-r--r--net/ipsvd/Makefile45
-rw-r--r--net/ipsvd/distinfo1
-rw-r--r--net/ipsvd/files/patch-src::tcpsvd.c7
-rw-r--r--net/ipsvd/pkg-descr22
-rw-r--r--net/ipsvd/pkg-plist16
5 files changed, 91 insertions, 0 deletions
diff --git a/net/ipsvd/Makefile b/net/ipsvd/Makefile
new file mode 100644
index 000000000000..02821caa378d
--- /dev/null
+++ b/net/ipsvd/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: ipsvd
+# Date created: 01 Apr 2002
+# Whom: Sergei Kolobov <sergei@kolobov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ipsvd
+PORTVERSION= 0.4.0
+CATEGORIES= net
+MASTER_SITES= http://smarden.org/ipsvd/
+
+MAINTAINER= sergei@kolobov.com
+COMMENT= Internet protocol service daemons
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libdjbdns.a:${PORTSDIR}/devel/libdjbdns
+
+WRKSRC= ${WRKDIR}/net/${DISTNAME}
+ALL_TARGET= default
+
+MAN5= ipsvd-instruct.5
+MAN7= ipsvd.7
+MAN8= ipsvd-cdb.8 tcpsvd.8 udpsvd.8
+DOCS= package/CHANGES package/COPYING package/README doc/*.html
+
+do-configure:
+ @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
+ @${ECHO_CMD} "${LOCALBASE}/include/libdjbdns" \
+ > ${WRKSRC}/src/conf-djbdnsinc
+ @${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/src/conf-djbdnslib
+
+do-build:
+ cd ${WRKSRC} && package/compile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/sbin
+.for n in 5 7 8
+ ${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${MANPREFIX}/man/man${n}
+.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/ipsvd/distinfo b/net/ipsvd/distinfo
new file mode 100644
index 000000000000..2f6472aacd50
--- /dev/null
+++ b/net/ipsvd/distinfo
@@ -0,0 +1 @@
+MD5 (ipsvd-0.4.0.tar.gz) = 219ea77de14a5b059b8dfce83bf08cc4
diff --git a/net/ipsvd/files/patch-src::tcpsvd.c b/net/ipsvd/files/patch-src::tcpsvd.c
new file mode 100644
index 000000000000..8c8f2846d10c
--- /dev/null
+++ b/net/ipsvd/files/patch-src::tcpsvd.c
@@ -0,0 +1,7 @@
+--- src/tcpsvd.c.orig Tue May 6 00:58:40 2003
++++ src/tcpsvd.c Tue May 6 00:58:59 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <unistd.h>
diff --git a/net/ipsvd/pkg-descr b/net/ipsvd/pkg-descr
new file mode 100644
index 000000000000..3dbba038c7c6
--- /dev/null
+++ b/net/ipsvd/pkg-descr
@@ -0,0 +1,22 @@
+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/
diff --git a/net/ipsvd/pkg-plist b/net/ipsvd/pkg-plist
new file mode 100644
index 000000000000..6c71d8e68e32
--- /dev/null
+++ b/net/ipsvd/pkg-plist
@@ -0,0 +1,16 @@
+sbin/ipsvd-cdb
+sbin/tcpsvd
+sbin/udpsvd
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/examples.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/install.html
+%%PORTDOCS%%%%DOCSDIR%%/ipsvd-cdb.8.html
+%%PORTDOCS%%%%DOCSDIR%%/ipsvd-instruct.5.html
+%%PORTDOCS%%%%DOCSDIR%%/ipsvd.7.html
+%%PORTDOCS%%%%DOCSDIR%%/tcpsvd.8.html
+%%PORTDOCS%%%%DOCSDIR%%/udpsvd.8.html
+%%PORTDOCS%%%%DOCSDIR%%/usedietlibc.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%