| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net/datapipe/ |
Upload File : |
PORTNAME= datapipe
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/unsupported/ \
http://http.distributed.net/pub/dcti/unsupported/
MAINTAINER= ports@FreeBSD.org
COMMENT= Bind a local port and connect it to a remote socket
PLIST_FILES= bin/datapipe
OPTIONS_DEFINE= REUSEADDR NOFORK
OPTIONS_DEFAULT= REUSEADDR
REUSEADDR_DESC= Reuse the listening socket address
NOFORK_DESC= Do not fork and background
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MREUSEADDR}
CFLAGS+= -DDATAPIPE_REUSEADDR
.endif
.if ${PORT_OPTIONS:MNOFORK}
CFLAGS+= -DDATAPIPE_NOFORK
PKGNAMESUFFIX+=-nofork
.endif
do-build:
${CC} ${CFLAGS} -o ${WRKDIR}/${DISTNAME}/datapipe ${WRKDIR}/${DISTNAME}/datapipe.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/datapipe ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>