Files
ports/net/bounce/Makefile
T
Eugene Grosbein 543ad043dc net/bounce: use SO_REUSEPORT
After making changes to bounce_* setting in rc.conf, the command
"service bounce restart" most probably breaks
if bounce had active connections due to lack of SO_REUSEPORT
on its server socket, so that restarted daemon fails to bind the port.

Fix it. Regenerate a patch with "make makepatch".
Bump PORTREVISION.
2025-12-28 07:59:21 +07:00

30 lines
649 B
Makefile

PORTNAME= bounce
PORTVERSION= 1.0
PORTREVISION= 9
CATEGORIES= net security
MASTER_SITES= http://www.iagora.com/~espel/ \
LOCAL/obrien
DISTNAME= bounce
EXTRACT_SUFX= .c
MAINTAINER= matt@efs.org
COMMENT= Bounce TCP connections to another machine/port
WWW= http://www.iagora.com/~espel/hacks.html
USE_RC_SUBR= bounce
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= sbin/bounce
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${DISTNAME} ${WRKSRC}/${DISTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>