pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/ucspi-udp



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Nov 15 10:08:17 UTC 2021

Added Files:
        pkgsrc/net/ucspi-udp: DESCR Makefile PLIST distinfo
        pkgsrc/net/ucspi-udp/patches: patch-Makefile patch-hier.c
            patch-udpconnect.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/ucspi-udp/DESCR \
    pkgsrc/net/ucspi-udp/Makefile pkgsrc/net/ucspi-udp/PLIST \
    pkgsrc/net/ucspi-udp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/ucspi-udp/patches/patch-Makefile \
    pkgsrc/net/ucspi-udp/patches/patch-hier.c \
    pkgsrc/net/ucspi-udp/patches/patch-udpconnect.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/ucspi-udp/DESCR
diff -u /dev/null pkgsrc/net/ucspi-udp/DESCR:1.1
--- /dev/null   Mon Nov 15 10:08:17 2021
+++ pkgsrc/net/ucspi-udp/DESCR  Mon Nov 15 10:08:17 2021
@@ -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.
Index: pkgsrc/net/ucspi-udp/Makefile
diff -u /dev/null pkgsrc/net/ucspi-udp/Makefile:1.1
--- /dev/null   Mon Nov 15 10:08:17 2021
+++ pkgsrc/net/ucspi-udp/Makefile       Mon Nov 15 10:08:17 2021
@@ -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"
Index: pkgsrc/net/ucspi-udp/PLIST
diff -u /dev/null pkgsrc/net/ucspi-udp/PLIST:1.1
--- /dev/null   Mon Nov 15 10:08:17 2021
+++ pkgsrc/net/ucspi-udp/PLIST  Mon Nov 15 10:08:17 2021
@@ -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
Index: pkgsrc/net/ucspi-udp/distinfo
diff -u /dev/null pkgsrc/net/ucspi-udp/distinfo:1.1
--- /dev/null   Mon Nov 15 10:08:17 2021
+++ pkgsrc/net/ucspi-udp/distinfo       Mon Nov 15 10:08:17 2021
@@ -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

Index: pkgsrc/net/ucspi-udp/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/ucspi-udp/patches/patch-Makefile:1.1
--- /dev/null   Mon Nov 15 10:08:17 2021
+++ pkgsrc/net/ucspi-udp/patches/patch-Makefile Mon Nov 15 10:08:17 2021
@@ -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
Index: pkgsrc/net/ucspi-udp/patches/patch-hier.c
diff -u /dev/null pkgsrc/net/ucspi-udp/patches/patch-hier.c:1.1
--- /dev/null   Mon Nov 15 10:08:17 2021
+++ pkgsrc/net/ucspi-udp/patches/patch-hier.c   Mon Nov 15 10:08:17 2021
@@ -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);
+ }
Index: pkgsrc/net/ucspi-udp/patches/patch-udpconnect.c
diff -u /dev/null pkgsrc/net/ucspi-udp/patches/patch-udpconnect.c:1.1
--- /dev/null   Mon Nov 15 10:08:17 2021
+++ pkgsrc/net/ucspi-udp/patches/patch-udpconnect.c     Mon Nov 15 10:08:17 2021
@@ -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