pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ucspi-tcp6 Add ucspi-tcp6, a fork of ucspi-tcp wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97a5fe369e9c
branches:  trunk
changeset: 383228:97a5fe369e9c
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jul 25 16:22:55 2018 +0000

description:
Add ucspi-tcp6, a fork of ucspi-tcp with more features, including:

- rblsmtpd Greetdelay add-on and removal of the compiled-in default-RBL
- Felix von Leitner's's IPv6 patch ucspi-tcp-0.88-ipv6.diff19.bz2
- Jens Wehrenbrecht's IPv4 CIDR extension
- Li Minh Bui's IPv6 support for compactified IPv6 addresses and CIDR
  notation support

diffstat:

 net/ucspi-tcp6/DESCR                     |   7 +++++
 net/ucspi-tcp6/Makefile                  |  44 ++++++++++++++++++++++++++++++++
 net/ucspi-tcp6/PLIST                     |  35 +++++++++++++++++++++++++
 net/ucspi-tcp6/distinfo                  |   7 +++++
 net/ucspi-tcp6/patches/patch-package_man |  35 +++++++++++++++++++++++++
 5 files changed, 128 insertions(+), 0 deletions(-)

diffs (148 lines):

diff -r c13019301b12 -r 97a5fe369e9c net/ucspi-tcp6/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-tcp6/DESCR      Wed Jul 25 16:22:55 2018 +0000
@@ -0,0 +1,7 @@
+ucspi-tcp6 is a fork of Dan Bernstein's ucspi-tcp 0.88, including:
+
+- rblsmtpd Greetdelay add-on and removal of the compiled-in default-RBL
+- Felix von Leitner's's IPv6 patch ucspi-tcp-0.88-ipv6.diff19.bz2
+- Jens Wehrenbrecht's IPv4 CIDR extension
+- Li Minh Bui's IPv6 support for compactified IPv6 addresses and CIDR
+  notation support
diff -r c13019301b12 -r 97a5fe369e9c net/ucspi-tcp6/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-tcp6/Makefile   Wed Jul 25 16:22:55 2018 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2018/07/25 16:22:55 schmonz Exp $
+
+DISTNAME=              ucspi-tcp6-1.06
+CATEGORIES=            net
+MASTER_SITES=          https://www.fehcom.de/ipnet/ucspi-tcp6/
+EXTRACT_SUFX=          .tgz
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              https://www.fehcom.de/ipnet/ucspi-tcp6.html
+COMMENT=               Command-line tools for building TCP client-server applications
+LICENSE=               public-domain
+
+CONFLICTS+=            ucspi-tcp-[0-9]*
+
+WRKSRC=                        ${WRKDIR}/host/${PKGNAME_NOREV}
+DJB_SLASHPACKAGE=      yes
+DJB_RESTRICTED=                no
+DJB_CONFIG_DIR=                ${WRKSRC}
+
+INSTALLATION_DIRS=     bin
+
+.include "../../mk/bsd.prefs.mk"
+
+SUBST_CLASSES+=                manz
+SUBST_STAGE.manz=      do-configure
+SUBST_FILES.manz=      package/man
+.if !defined(MANZ)
+SUBST_SED.manz=                -e 's|safe gzip |safe true |g'
+SUBST_SED.manz+=       -e 's|\.gz||g'
+.endif
+
+post-configure:
+       ${RUN}cd ${DJB_CONFIG_DIR};     \
+       ${ECHO} ${PKGMANDIR} > conf-man
+
+do-install:
+       cd ${WRKSRC};                                                   \
+       for i in command/*; do                                          \
+         ${INSTALL_PROGRAM} $${i} ${DESTDIR}${PREFIX}/bin;             \
+       done;                                                           \
+       ./package/man
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c13019301b12 -r 97a5fe369e9c net/ucspi-tcp6/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-tcp6/PLIST      Wed Jul 25 16:22:55 2018 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/25 16:22:55 schmonz Exp $
+bin/addcr
+bin/argv0
+bin/date@
+bin/delcr
+bin/finger@
+bin/fixcrio
+bin/http@
+bin/mconnect
+bin/mconnect-io
+bin/rblsmtpd
+bin/recordio
+bin/tcpcat
+bin/tcpclient
+bin/tcprules
+bin/tcprulescheck
+bin/tcpserver
+bin/who@
+man/man1/addcr.1
+man/man1/argv0.1
+man/man1/date@.1
+man/man1/delcr.1
+man/man1/finger@.1
+man/man1/fixcrio.1
+man/man1/http@.1
+man/man1/mconnect.1
+man/man1/rblsmtpd.1
+man/man1/recordio.1
+man/man1/tcpcat.1
+man/man1/tcpclient.1
+man/man1/tcprules.1
+man/man1/tcprulescheck.1
+man/man1/tcpserver.1
+man/man1/who@.1
+man/man5/tcp-environ.5
diff -r c13019301b12 -r 97a5fe369e9c net/ucspi-tcp6/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-tcp6/distinfo   Wed Jul 25 16:22:55 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/07/25 16:22:55 schmonz Exp $
+
+SHA1 (ucspi-tcp6-1.06.tgz) = bc304397b213e4bf793c28b1a79f5d14c61ca833
+RMD160 (ucspi-tcp6-1.06.tgz) = a954234a9ff35c98d6895da09bcfb1d7bb03477b
+SHA512 (ucspi-tcp6-1.06.tgz) = f27c363cce93e9e0ddc06cb84330e7535d883366e211375ba945f870599833d60cefc979f862b594626cb0a3e34ff5c256e26e337588506df599b795dc924e44
+Size (ucspi-tcp6-1.06.tgz) = 81920 bytes
+SHA1 (patch-package_man) = dabd75991f1369e14b4220e00069c9b28a82d74e
diff -r c13019301b12 -r 97a5fe369e9c net/ucspi-tcp6/patches/patch-package_man
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-tcp6/patches/patch-package_man  Wed Jul 25 16:22:55 2018 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-package_man,v 1.1 2018/07/25 16:22:55 schmonz Exp $
+
+Support DESTDIR.
+
+--- package/man.orig   2016-08-02 15:14:30.000000000 +0000
++++ package/man
+@@ -6,6 +6,8 @@ safe() { "$@" || barf "cannot $@"; }
+ safe umask 022
+ [ -d man ] || barf "no man directory"
+ 
++destdir=`head -1 conf-destdir`
++
+ mandir=""
+ if [ -f conf-man ]
+ then
+@@ -23,16 +25,16 @@ do
+   all="$all $i"
+ done
+ 
+-shout "Installing ucspi-tcp6 compressed man-files in ${mandir}."
++shout "Installing ucspi-tcp6 man-files in ${destdir}/${mandir}."
+ 
+ if [ $# -eq 0 ]
+ then
+   for manfile in $all
+   do
+     dir="man`echo $manfile | awk -F. '{print $NF}'`"
+-    safe mkdir -p $mandir/$dir
++    safe mkdir -p $destdir/$mandir/$dir
+     safe gzip $manfile && \
+-         install -m 644 "$manfile.gz" $mandir/$dir/"${manfile#*/}.gz"
++         install -m 644 "$manfile.gz" $destdir/$mandir/$dir/"${manfile#*/}.gz"
+   done
+ fi
+ 



Home | Main Index | Thread Index | Old Index