summaryrefslogtreecommitdiff
path: root/net/ucspi-tcp
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2018-07-25 16:19:16 +0000
committerschmonz <schmonz@pkgsrc.org>2018-07-25 16:19:16 +0000
commit0703552a81c08d72496a5f8270e6b786d6eb0908 (patch)
treecb60cb3294d5bf27cb209e731774b99569a41a10 /net/ucspi-tcp
parent839d500651a7ba7882d5bce58c53d905f0dc6327 (diff)
downloadpkgsrc-0703552a81c08d72496a5f8270e6b786d6eb0908.tar.gz
Use external destdir patch. Add CONFLICTS with ucspi-tcp6, to be added shortly.
Diffstat (limited to 'net/ucspi-tcp')
-rw-r--r--net/ucspi-tcp/Makefile4
-rw-r--r--net/ucspi-tcp/distinfo7
-rw-r--r--net/ucspi-tcp/options.mk6
-rw-r--r--net/ucspi-tcp/patches/patch-Makefile42
4 files changed, 13 insertions, 46 deletions
diff --git a/net/ucspi-tcp/Makefile b/net/ucspi-tcp/Makefile
index 81e0166971c..b07bf5f4aa9 100644
--- a/net/ucspi-tcp/Makefile
+++ b/net/ucspi-tcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2018/06/18 10:50:19 schmonz Exp $
+# $NetBSD: Makefile,v 1.43 2018/07/25 16:19:16 schmonz Exp $
DISTNAME= ucspi-tcp-0.88
PKGREVISION= 5
@@ -14,6 +14,8 @@ LICENSE= public-domain
MANPAGES= ${DISTNAME}-man-20020317.tar.gz
SITES.${MANPAGES}= http://smarden.org/pape/djb/manpages/
+CONFLICTS+= ucspi-tcp6-[0-9]*
+
DJB_RESTRICTED= no
SUBST_CLASSES+= etc
diff --git a/net/ucspi-tcp/distinfo b/net/ucspi-tcp/distinfo
index cdbff8d4936..6a53cfd7a83 100644
--- a/net/ucspi-tcp/distinfo
+++ b/net/ucspi-tcp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2018/06/18 10:54:30 schmonz Exp $
+$NetBSD: distinfo,v 1.13 2018/07/25 16:19:16 schmonz Exp $
SHA1 (rblsmtpd-nodefaultrbl.patch) = 5d6048b5928257c13ff5cbcddb40ed0eee9997c0
RMD160 (rblsmtpd-nodefaultrbl.patch) = fa93dd4522ccc77c5b43d0a79f741ae2ab54f075
@@ -16,4 +16,7 @@ SHA1 (ucspi-tcp-0.88.tar.gz) = 793b4189795b563085602c030dd8aa0d206ddc0e
RMD160 (ucspi-tcp-0.88.tar.gz) = eb20085ea6ffd5d137a805f7c8768e0312c1f56a
SHA512 (ucspi-tcp-0.88.tar.gz) = 44efbd477dacf31d39fc970e2d2f74526dc815b905742f6127f0d5c80928ecc7e743089eaab0492386a58d5b97905113fbe8bbc7214ae179b7be27966b7566c7
Size (ucspi-tcp-0.88.tar.gz) = 53019 bytes
-SHA1 (patch-Makefile) = ff965829c788c9cfe52bee4d8fd527213dc954d3
+SHA1 (ucspi-tcp-0.88-destdir-20180725.patch) = e6c3c4a93b30e78a01d84152d9ff88470ccf1ef1
+RMD160 (ucspi-tcp-0.88-destdir-20180725.patch) = 2b77b4cb8a7b96cad9a6f0171b3df2416c0b43cc
+SHA512 (ucspi-tcp-0.88-destdir-20180725.patch) = 51f12e64a11dd9442d64356985dcd1a261979b5ced4b064c3e67db166f565f3507f29c3875d382fc8ced553f1a1b67f05df2df9f492b678c6f9ba508b5e8ee07
+Size (ucspi-tcp-0.88-destdir-20180725.patch) = 1169 bytes
diff --git a/net/ucspi-tcp/options.mk b/net/ucspi-tcp/options.mk
index c6f3cd0dc79..06dc9852a99 100644
--- a/net/ucspi-tcp/options.mk
+++ b/net/ucspi-tcp/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2018/07/04 13:40:31 jperkin Exp $
+# $NetBSD: options.mk,v 1.7 2018/07/25 16:19:16 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ucspi-tcp
PKG_SUPPORTED_OPTIONS+= inet6 ucspi-tcp-nodefaultrbl
@@ -6,6 +6,10 @@ PKG_SUGGESTED_OPTIONS+= inet6 ucspi-tcp-nodefaultrbl
.include "../../mk/bsd.options.mk"
+DESTDIR_PATCH= ucspi-tcp-0.88-destdir-20180725.patch
+PATCHFILES+= ${DESTDIR_PATCH}
+SITES.${DESTDIR_PATCH}= https://schmonz.com/qmail/ucspitcpdestdir/
+
PLIST_VARS+= inet6
.if !empty(PKG_OPTIONS:Minet6)
IPV6_PATCH= ucspi-tcp-0.88-ipv6.diff20.bz2
diff --git a/net/ucspi-tcp/patches/patch-Makefile b/net/ucspi-tcp/patches/patch-Makefile
deleted file mode 100644
index da075a1bb6c..00000000000
--- a/net/ucspi-tcp/patches/patch-Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2018/06/18 10:54:31 schmonz Exp $
-
-DESTDIR support.
-
---- Makefile.orig 2018-06-18 10:52:34.000000000 +0000
-+++ Makefile
-@@ -36,6 +36,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
-@@ -351,16 +359,16 @@ warn-auto.sh http@.sh conf-home
- chmod 755 http@
-
- 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