mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
net/netpipes - unbreak build on llvm 22
Distfile has been moved. Feedback from tb@
This commit is contained in:
@@ -2,17 +2,16 @@ COMMENT= shell utilities to connect programs to sockets
|
||||
|
||||
DISTNAME= netpipes-4.2-export
|
||||
PKGNAME= netpipes-4.2
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://web.purplefrog.com/~thoth/netpipes/netpipes.html
|
||||
|
||||
PERMIT_PACKAGE= Yes
|
||||
WANTLIB= c
|
||||
WANTLIB= c
|
||||
|
||||
SITES= ftp://ftp.purplefrog.com/pub/netpipes/
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
SITES= http://web.purplefrog.com/~thoth/netpipes/ftp/
|
||||
DISTFILES= ${DISTNAME}-1{${DISTNAME}}.tar.gz
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (netpipes-4.2-export.tar.gz) = bu2JtmGunyrA04NBTKlkq+qKEV+Pug96s3tJtWX/sqg=
|
||||
SIZE (netpipes-4.2-export.tar.gz) = 74977
|
||||
SHA256 (netpipes-4.2-export-1.tar.gz) = BxKyzVWteAhDhdIV+AN6rTxTsGpv2Mm9qD7COv1ECic=
|
||||
SIZE (netpipes-4.2-export-1.tar.gz) = 75276
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
--- Makefile.orig Wed Oct 28 20:30:03 1998
|
||||
+++ Makefile Wed Mar 21 22:11:23 2001
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
# You probably want to change this:
|
||||
@@ -18,7 +19,7 @@
|
||||
|
||||
# SGI
|
||||
#CFLAGS = -DSYSV $(CDEBUGFLAGS)
|
||||
@@ -71,7 +71,7 @@ CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_
|
||||
@@ -71,7 +71,7 @@ CFLAGS = -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON $(CD
|
||||
#CFLAGS = -DPOSIX_SIG $(CDEBUGFLAGS)
|
||||
|
||||
# FreeBSD
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Casts the socket address union pointer to struct sockaddr * to fix a compiler
|
||||
type mismatch
|
||||
|
||||
Index: faucet.c
|
||||
--- faucet.c.orig
|
||||
+++ faucet.c
|
||||
@@ -619,7 +619,7 @@ char ** argv;
|
||||
continue;
|
||||
}
|
||||
|
||||
- if (!authorize_address(&saddr)) {
|
||||
+ if (!authorize_address((struct sockaddr *)&saddr)) {
|
||||
close(rval);
|
||||
continue;
|
||||
}
|
||||
@@ -2,6 +2,6 @@ Netpipes is a collection of utilities which attempts to provide the
|
||||
functionality of pipes over a network.
|
||||
|
||||
It consists of small utilities that perform a single task, such as
|
||||
listening on a port for connections (faucet), sending data to a
|
||||
listening on a port for connections (faucet), sending data to a
|
||||
remote port (hose), or even multiplex multiple streams over a single
|
||||
TCP connection (encapsulate).
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
bin/encapsulate
|
||||
bin/faucet
|
||||
bin/getpeername
|
||||
@bin bin/encapsulate
|
||||
@bin bin/faucet
|
||||
@bin bin/getpeername
|
||||
bin/getsockname
|
||||
bin/hose
|
||||
bin/sockdown
|
||||
bin/timelimit
|
||||
@bin bin/hose
|
||||
@bin bin/sockdown
|
||||
@bin bin/timelimit
|
||||
@man man/man1/encapsulate.1
|
||||
@man man/man1/faucet.1
|
||||
@man man/man1/getpeername.1
|
||||
|
||||
Reference in New Issue
Block a user