poll() and fix the security problem on rinetd. Author told me will use this patch and release a new version, but, when it doesn't happen, i'm adding the patch here, and, bumping PORTREVISION, so, 0.62_1 is not more vulnerable. Security: http://www.FreeBSD.org/ports/portaudit/4c005a5e-2541-4d95-80a0-00c76919aa66.html
38 lines
711 B
Makefile
38 lines
711 B
Makefile
# New ports collection makefile for: rinetd
|
|
# Date created: 23 Dec 1997
|
|
# Whom: alexp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rinetd
|
|
PORTVERSION= 0.62
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.boutell.com/rinetd/http/
|
|
DISTNAME= rinetd
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= A simple TCP port redirector
|
|
|
|
WRKSRC= ${WRKDIR}/rinetd/
|
|
|
|
MAN8= rinetd.8
|
|
PORTDOCS= index.html
|
|
PLIST_FILES= sbin/rinetd
|
|
|
|
USE_RC_SUBR= rinetd.sh
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E "s,(/etc/rinetd.conf),${PREFIX}\1," \
|
|
${WRKSRC}/rinetd.c
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|