Reinstate net/ucspi-tcp (previously removed due to license which was cleared

up some time ago), now incorporating fefe's v6 patchset. From new maintainer
Jan Klemkow with a few tweaks by me, ok henning
This commit is contained in:
sthen 2014-06-12 19:00:30 +00:00
parent 67a7562899
commit 84f9a2b296
5 changed files with 87 additions and 0 deletions

34
net/ucspi-tcp/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.15 2014/06/12 19:00:30 sthen Exp $
COMMENT= tools for building tcp socket client/servers
DISTNAME= ucspi-tcp-0.88
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://cr.yp.to/ucspi-tcp.html
MAINTAINER= Jan Klemkow <j.klemkow@wemelug.de>
# Public domain: http://cr.yp.to/distributors.html
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c
MASTER_SITES= http://cr.yp.to/ucspi-tcp/
MASTER_SITES0= http://www.fefe.de/ucspi/
PATCHFILES= ucspi-tcp-0.88-ipv6.diff19.bz2:0
PATCH_DIST_STRIP=
ALL_TARGET=
INSTALL_TARGET= setup
NO_TEST= Yes
do-configure:
echo "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
echo "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
pre-install:
echo "${PREFIX}" > ${WRKSRC}/conf-home
.include <bsd.port.mk>

4
net/ucspi-tcp/distinfo Normal file
View File

@ -0,0 +1,4 @@
SHA256 (ucspi-tcp-0.88-ipv6.diff19.bz2) = NZUs0pDXFEUshAWAEmAEy66NtlsWMt9nrJyPrX0fms4=
SHA256 (ucspi-tcp-0.88.tar.gz) = SgYVyrdIhvW09+j9MpM6B7lVU2o0dtdOoIej6maiPpw=
SIZE (ucspi-tcp-0.88-ipv6.diff19.bz2) = 22632
SIZE (ucspi-tcp-0.88.tar.gz) = 53019

5
net/ucspi-tcp/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
This package contains TCP socket client and server programs
that conform to UCSPI, the UNIX Client-Server Program Interface.
For more information on the UCSPI standard, see
http://cr.yp.to/proto/ucspi.txt

34
net/ucspi-tcp/pkg/PLIST Normal file
View File

@ -0,0 +1,34 @@
@comment $OpenBSD: PLIST,v 1.5 2014/06/12 19:00:31 sthen Exp $
@bin bin/addcr
@bin bin/argv0
bin/date@
@bin bin/delcr
bin/finger@
@bin bin/fixcrio
bin/http@
bin/mconnect
@bin bin/mconnect-io
@bin bin/rblsmtpd
@bin bin/recordio
bin/tcpcat
@bin bin/tcpclient
@bin bin/tcprules
@bin bin/tcprulescheck
@bin bin/tcpserver
bin/who@
@man man/man1/addcr.1
@man man/man1/argv0.1
@man man/man1/date@.1
@man man/man1/delcr.1
@man man/man1/finger@.1
@man man/man1/fixcr.1
@man man/man1/http@.1
@man man/man1/mconnect.1
@man man/man1/recordio.1
@man man/man1/tcpclient.1
@man man/man1/tcprules.1
@man man/man1/tcprulescheck.1
@man man/man1/tcpserver.1
@man man/man1/who@.1
@man man/man5/tcp-environ.5
share/doc/pkg-readmes/${FULLPKGNAME}

10
net/ucspi-tcp/pkg/README Normal file
View File

@ -0,0 +1,10 @@
$OpenBSD: README,v 1.1 2014/06/12 19:00:31 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
Please note, it is common for scripts using this package to use the
softlimit application to restrict the datasize limit of tcpclient/tcpserver;
in some cases the suggested limits are too small for successful use with
OpenBSD and may cause process termination.