diff options
author | grant <grant@pkgsrc.org> | 2003-10-01 01:15:44 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-10-01 01:15:44 +0000 |
commit | 38fd9dcbc921979a1c52499a1b84c1e4eb73d9e5 (patch) | |
tree | 59289af4f333ce4f17cb258d6b9794b9bbdf2191 /net/rinetd/Makefile | |
parent | 8df6fa28725e26e11bf7a15cf45af0c412de69a1 (diff) | |
download | pkgsrc-38fd9dcbc921979a1c52499a1b84c1e4eb73d9e5.tar.gz |
Initial import of rinetd-0.62 into The NetBSD Packages Collection.
Redirects TCP connections from one IP address and port to another.
rinetd is a single-process server which handles any number of
connections address/port pairs. Since rinetd runs as a single
process using nonblocking I/O, it is able to redirect a large
number of connections without a severe impact on the machine.
Diffstat (limited to 'net/rinetd/Makefile')
-rw-r--r-- | net/rinetd/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile new file mode 100644 index 00000000000..d56ea4f2f0e --- /dev/null +++ b/net/rinetd/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/01 01:15:44 grant Exp $ +# + +DISTNAME= rinetd +PKGNAME= ${DISTNAME}-0.62 +WRKSRC= ${WRKDIR}/${PKGNAME:S|nb*||} +CATEGORIES= net +MASTER_SITES= http://www.boutell.com/rinetd/http/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.boutell.com/rinetd/ +COMMENT= Internet redirection server + +NO_CONFIGURE= # defined +USE_PKGINSTALL= yes +ALL_TARGET= rinetd + +CPPFLAGS+= -DRINETD_CONF='\"${PKG_SYSCONFDIR}/rinetd.conf\"' + +RCD_SCRIPTS= rinetd + +post-extract: + @cd ${WRKDIR} && ${MV} -f rinetd ${PKGNAME:S|nb*||} + +pre-build: + @${MV} -f ${WRKSRC}/rinetd.8 ${WRKSRC}/rinetd.8.pre + @${SED} ${FILES_SUBST_SED} ${WRKSRC}/rinetd.8.pre \ + > ${WRKSRC}/rinetd.8 + +.include "../../mk/bsd.pkg.mk" |