1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Add ipsvd 0.4.0, internet protocol service daemons.

PR:		51814
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
This commit is contained in:
Pete Fritchman 2003-05-12 01:23:21 +00:00
parent 17c223577e
commit 888316de14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80716
6 changed files with 92 additions and 0 deletions

View File

@ -232,6 +232,7 @@
SUBDIR += ipfw-graph
SUBDIR += iplog
SUBDIR += ipsorc
SUBDIR += ipsvd
SUBDIR += ipv6calc
SUBDIR += ipv6socket_scrub
SUBDIR += ipw

45
net/ipsvd/Makefile Normal file
View File

@ -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>

1
net/ipsvd/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ipsvd-0.4.0.tar.gz) = 219ea77de14a5b059b8dfce83bf08cc4

View File

@ -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>

22
net/ipsvd/pkg-descr Normal file
View File

@ -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/

16
net/ipsvd/pkg-plist Normal file
View File

@ -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%%