pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ucspi-udp Add ucspi-udp, a set of command-line too...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b2f003451b2
branches:  trunk
changeset: 769428:1b2f003451b2
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Nov 15 10:08:17 2021 +0000

description:
Add ucspi-udp, a set of command-line tools for building UDP-based
client/server applications. They are derived from Dan Bernstein's
ucspi-tcp 0.88.

diffstat:

 net/ucspi-udp/DESCR                      |   3 ++
 net/ucspi-udp/Makefile                   |  19 ++++++++++++++
 net/ucspi-udp/PLIST                      |   6 ++++
 net/ucspi-udp/distinfo                   |   8 ++++++
 net/ucspi-udp/patches/patch-Makefile     |  42 ++++++++++++++++++++++++++++++++
 net/ucspi-udp/patches/patch-hier.c       |  14 ++++++++++
 net/ucspi-udp/patches/patch-udpconnect.c |  11 ++++++++
 7 files changed, 103 insertions(+), 0 deletions(-)

diffs (131 lines):

diff -r d2a3892c0f6d -r 1b2f003451b2 net/ucspi-udp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-udp/DESCR       Mon Nov 15 10:08:17 2021 +0000
@@ -0,0 +1,3 @@
+ucspi-udp is a set of command-line tools for building UDP-based
+client/server applications. They are derived from Dan Bernstein's
+ucspi-tcp 0.88.
diff -r d2a3892c0f6d -r 1b2f003451b2 net/ucspi-udp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-udp/Makefile    Mon Nov 15 10:08:17 2021 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2021/11/15 10:08:17 schmonz Exp $
+
+GITHUB_PROJECT=        tsi-ucspi-udp
+GITHUB_TAG=    ea972137e1da3189237aecc954bff2377398cb36
+DISTNAME=      ea972137e1da3189237aecc954bff2377398cb36
+PKGNAME=       ucspi-udp-0.88.1
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=tempestsecurity/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    schmonz%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tempestsecurity/tsi-ucspi-udp/
+COMMENT=       Unix Client-Server interface utilities for UDP
+LICENSE=       public-domain
+
+MAKE_JOBS_SAFE=        no
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d2a3892c0f6d -r 1b2f003451b2 net/ucspi-udp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-udp/PLIST       Mon Nov 15 10:08:17 2021 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/15 10:08:17 schmonz Exp $
+bin/udpcat
+bin/udpconnect
+bin/udplisten
+bin/udprules
+bin/udprulescheck
diff -r d2a3892c0f6d -r 1b2f003451b2 net/ucspi-udp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-udp/distinfo    Mon Nov 15 10:08:17 2021 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2021/11/15 10:08:17 schmonz Exp $
+
+BLAKE2s (tsi-ucspi-udp/ea972137e1da3189237aecc954bff2377398cb36-ea972137e1da3189237aecc954bff2377398cb36.tar.gz) = ca0ee4bb86ad92a438af53f86edb5edeeb576c4e0afd1387f9179066509da276
+SHA512 (tsi-ucspi-udp/ea972137e1da3189237aecc954bff2377398cb36-ea972137e1da3189237aecc954bff2377398cb36.tar.gz) = 
d3af287e08dd038de92f286b3d71ec65d211ea257e85aedf8a404dd7eb3a784cbae216966b861a55224ede9259b0530c66695439b55340c8f219944ac131284e
+Size (tsi-ucspi-udp/ea972137e1da3189237aecc954bff2377398cb36-ea972137e1da3189237aecc954bff2377398cb36.tar.gz) = 52786 bytes
+SHA1 (patch-Makefile) = 5f06c5ca1491be733f9bdbc0ef45e9b80fb89744
+SHA1 (patch-hier.c) = ae0acd2c1ed227cd44a295c785f8d7a2f83c37ad
+SHA1 (patch-udpconnect.c) = 9955b3bde760247ca5f29de5a3e85e8b32606b43
diff -r d2a3892c0f6d -r 1b2f003451b2 net/ucspi-udp/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-udp/patches/patch-Makefile      Mon Nov 15 10:08:17 2021 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-Makefile,v 1.1 2021/11/15 10:08:17 schmonz Exp $
+
+DESTDIR support.
+
+--- Makefile.orig      2016-03-29 19:44:38.000000000 +0000
++++ Makefile
+@@ -21,6 +21,14 @@ auto-str.o: \
+ compile auto-str.c buffer.h readwrite.h exit.h
+       ./compile auto-str.c
+ 
++auto_destdir.c: \
++auto-str conf-destdir
++      ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++      ./compile auto_destdir.c
++
+ auto_home.c: \
+ auto-str conf-home
+       ./auto-str auto_home `head -1 conf-home` > auto_home.c
+@@ -302,16 +310,16 @@ compile hier.c auto_home.h
+       ./compile hier.c
+ 
+ install: \
+-load install.o hier.o auto_home.o unix.a byte.a
+-      ./load install hier.o auto_home.o unix.a byte.a 
++load install.o hier.o auto_destdir.o unix.a byte.a
++      ./load install hier.o auto_destdir.o unix.a byte.a 
+ 
+ install.o: \
+ compile install.c buffer.h strerr.h error.h open.h readwrite.h exit.h
+       ./compile install.c
+ 
+ instcheck: \
+-load instcheck.o hier.o auto_home.o unix.a byte.a
+-      ./load instcheck hier.o auto_home.o unix.a byte.a 
++load instcheck.o hier.o auto_destdir.o unix.a byte.a
++      ./load instcheck hier.o auto_destdir.o unix.a byte.a 
+ 
+ instcheck.o: \
+ compile instcheck.c strerr.h error.h readwrite.h exit.h
diff -r d2a3892c0f6d -r 1b2f003451b2 net/ucspi-udp/patches/patch-hier.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-udp/patches/patch-hier.c        Mon Nov 15 10:08:17 2021 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-hier.c,v 1.1 2021/11/15 10:08:17 schmonz Exp $
+
+Avoid conflicts by not installing recordio.
+
+--- hier.c.orig        2016-03-29 19:44:38.000000000 +0000
++++ hier.c
+@@ -8,7 +8,6 @@ void hier()
+   c(auto_home,"bin","udplisten",-1,-1,0755);
+   c(auto_home,"bin","udprules",-1,-1,0755);
+   c(auto_home,"bin","udprulescheck",-1,-1,0755);
+-  c(auto_home,"bin","recordio",-1,-1,0755);
+   c(auto_home,"bin","udpconnect",-1,-1,0755);
+   c(auto_home,"bin","udpcat",-1,-1,0755);
+ }
diff -r d2a3892c0f6d -r 1b2f003451b2 net/ucspi-udp/patches/patch-udpconnect.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-udp/patches/patch-udpconnect.c  Mon Nov 15 10:08:17 2021 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-udpconnect.c,v 1.1 2021/11/15 10:08:17 schmonz Exp $
+
+Provide definition of struct timeval.
+
+--- udpconnect.c.orig  2016-03-29 19:44:38.000000000 +0000
++++ udpconnect.c
+@@ -1,3 +1,4 @@
++#include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/param.h>
+ #include <netdb.h>



Home | Main Index | Thread Index | Old Index