mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
fbe675af18
which was resolved in conjunction with the socat author earlier. The problem will be corrected in socat 1.4.0.1, but in the meantime is provided separately. This patch adds the fix as a replacement xio-socks.c. I have also set myself as the maintainer as part of the patch below. I am willing to take on maintainership of this port. PR: 69317 Submitted by: rik <freebsd-ports@rikrose.net>
45 lines
905 B
Makefile
45 lines
905 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: socat
|
|
# Date created: May 14, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= socat
|
|
PORTVERSION= 1.4.0.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.dest-unreach.org/socat/download/
|
|
|
|
MAINTAINER= freebsd-ports@rikrose.net
|
|
COMMENT= Multipurpose relay and more
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:R}
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
MAKE_ARGS= CCOPT="${CFLAGS}"
|
|
|
|
.if defined(WITHOUT_SSL)
|
|
CONFIGURE_ARGS+= --disable-openssl
|
|
.else
|
|
USE_OPENSSL= yes
|
|
.endif
|
|
|
|
MAN1= socat.1
|
|
PORTDOCS= EXAMPLES README SECURITY FAQ
|
|
PLIST_FILES= bin/filan bin/procan bin/socat
|
|
|
|
post-patch:
|
|
@${CP} ${FILESDIR}/xio-socks.c ${WRKSRC}/xio-socks.c
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|