Wed Jul 25 16:22:55 2018 UTC ()
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
(schmonz)
diff -r0 -r1.1 pkgsrc/net/ucspi-tcp6/DESCR
diff -r0 -r1.1 pkgsrc/net/ucspi-tcp6/Makefile
diff -r0 -r1.1 pkgsrc/net/ucspi-tcp6/PLIST
diff -r0 -r1.1 pkgsrc/net/ucspi-tcp6/distinfo
diff -r0 -r1.1 pkgsrc/net/ucspi-tcp6/patches/patch-package_man
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
# $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
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"
@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
$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
$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