pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ucspi-tcp Use external destdir patch. Add CONFLICT...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c13019301b12
branches:  trunk
changeset: 383227:c13019301b12
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jul 25 16:19:16 2018 +0000

description:
Use external destdir patch. Add CONFLICTS with ucspi-tcp6, to be added shortly.

diffstat:

 net/ucspi-tcp/Makefile               |   4 ++-
 net/ucspi-tcp/distinfo               |   7 ++++-
 net/ucspi-tcp/options.mk             |   6 ++++-
 net/ucspi-tcp/patches/patch-Makefile |  42 ------------------------------------
 4 files changed, 13 insertions(+), 46 deletions(-)

diffs (102 lines):

diff -r 60737d941adf -r c13019301b12 net/ucspi-tcp/Makefile
--- a/net/ucspi-tcp/Makefile    Wed Jul 25 15:16:29 2018 +0000
+++ b/net/ucspi-tcp/Makefile    Wed Jul 25 16:19:16 2018 +0000
@@ -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 @@
 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 -r 60737d941adf -r c13019301b12 net/ucspi-tcp/distinfo
--- a/net/ucspi-tcp/distinfo    Wed Jul 25 15:16:29 2018 +0000
+++ b/net/ucspi-tcp/distinfo    Wed Jul 25 16:19:16 2018 +0000
@@ -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 @@
 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 -r 60737d941adf -r c13019301b12 net/ucspi-tcp/options.mk
--- a/net/ucspi-tcp/options.mk  Wed Jul 25 15:16:29 2018 +0000
+++ b/net/ucspi-tcp/options.mk  Wed Jul 25 16:19:16 2018 +0000
@@ -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 @@
 
 .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 -r 60737d941adf -r c13019301b12 net/ucspi-tcp/patches/patch-Makefile
--- a/net/ucspi-tcp/patches/patch-Makefile      Wed Jul 25 15:16:29 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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



Home | Main Index | Thread Index | Old Index