summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-09-20 11:18:13 +0000
committerjperkin <jperkin@pkgsrc.org>2017-09-20 11:18:13 +0000
commit730aedccdb0d9684e52f1ace7f5919efb8fb7eab (patch)
treef73933fe22f85a68e802358522bdc5c80f219a46
parent0d23a9e8df83db7a20a6eae7b781157a03d1d3c9 (diff)
downloadpkgsrc-730aedccdb0d9684e52f1ace7f5919efb8fb7eab.tar.gz
host: Apply patches from Matteo Cypriani in PR#52555
- Fix build on SunOS. - Add LICENSE. - Add patch comments. Bump PKGREVISION for LICENSE addition.
-rw-r--r--net/host/Makefile5
-rw-r--r--net/host/distinfo6
-rw-r--r--net/host/patches/patch-ab4
-rw-r--r--net/host/patches/patch-ac4
4 files changed, 13 insertions, 6 deletions
diff --git a/net/host/Makefile b/net/host/Makefile
index 13dfa4439b4..b4ea488d5ce 100644
--- a/net/host/Makefile
+++ b/net/host/Makefile
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.31 2016/07/09 11:50:36 rillig Exp $
+# $NetBSD: Makefile,v 1.32 2017/09/20 11:18:13 jperkin Exp $
DISTNAME= host-20070128
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.planix.com/pub/Planix/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.weird.com/~woods/projects/host.html
COMMENT= Powerful DNS query and testing tool
+LICENSE= original-bsd
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
NO_CONFIGURE= yes
@@ -24,6 +26,7 @@ BUILDLINK_TRANSFORM.Darwin+= rm:-static
CPPFLAGS.Darwin+= -DBIND_8_COMPAT
BUILDLINK_TRANSFORM.SunOS+= rm:-static
+CPPFLAGS.SunOS+= -Du_int16_t=uint16_t
LDFLAGS.SunOS+= -lresolv -lsocket -lnsl
BUILDLINK_TRANSFORM.Linux+= rm:-static
diff --git a/net/host/distinfo b/net/host/distinfo
index f2ef883b829..3decc0762f1 100644
--- a/net/host/distinfo
+++ b/net/host/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.13 2015/11/04 00:35:04 agc Exp $
+$NetBSD: distinfo,v 1.14 2017/09/20 11:18:13 jperkin Exp $
SHA1 (host-20070128.tar.gz) = 2e4522259b98f963c46ff7462942edd4a01e381c
RMD160 (host-20070128.tar.gz) = 955635175ee12882d59a10756d16af44ec62f9e7
SHA512 (host-20070128.tar.gz) = 80f4d4878af40c93f33cc6c43d19b01415e66b3939b157544b4921b9f0b83ef1baa9ce0e151d951417be92973c4b038df80efae974be4bca2bbce43299db65fc
Size (host-20070128.tar.gz) = 152347 bytes
SHA1 (patch-aa) = a4f4511b550cd832199b7bae950e34d3205dfa24
-SHA1 (patch-ab) = f28b6f9b67f77dd295e081e0200d7604d136406b
-SHA1 (patch-ac) = 35cf473a23b32b2f13f46bc6faba826c1ea3ae7c
+SHA1 (patch-ab) = a61a742438fea90c2a2d1c276b992e30b206a8d5
+SHA1 (patch-ac) = 33a8403e0479260628e6e3d2a186daf3a0d4cb54
diff --git a/net/host/patches/patch-ab b/net/host/patches/patch-ab
index b42ba3c57f2..7cf8ff2372c 100644
--- a/net/host/patches/patch-ab
+++ b/net/host/patches/patch-ab
@@ -1,4 +1,6 @@
-$NetBSD: patch-ab,v 1.6 2013/07/21 12:28:32 shattered Exp $
+$NetBSD: patch-ab,v 1.7 2017/09/20 11:18:13 jperkin Exp $
+
+Remove non-portable linker argument.
--- Makefile.BSD.orig 2004-08-12 22:30:04.000000000 +0200
+++ Makefile.BSD
diff --git a/net/host/patches/patch-ac b/net/host/patches/patch-ac
index d224c3c3552..5fef625773c 100644
--- a/net/host/patches/patch-ac
+++ b/net/host/patches/patch-ac
@@ -1,4 +1,6 @@
-$NetBSD: patch-ac,v 1.4 2006/10/03 14:25:55 schwarz Exp $
+$NetBSD: patch-ac,v 1.5 2017/09/20 11:18:13 jperkin Exp $
+
+IRIX support.
--- host.h.orig 2006-10-03 15:54:29.000000000 +0200
+++ host.h 2006-10-03 15:55:13.000000000 +0200