pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/net/dnstracer Pullup ticket #5479 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d65d3f2d142d
branches:  pkgsrc-2017Q1
changeset: 360423:d65d3f2d142d
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Jun 21 18:19:54 2017 +0000

description:
Pullup ticket #5479 - requested by sevan
net/dnstracer: build fix

Revisions pulled up:
- net/dnstracer/Makefile                                        1.18
- net/dnstracer/distinfo                                        1.8
- net/dnstracer/patches/patch-Makefile                          1.1

---
   Module Name:    pkgsrc
   Committed By:   jperkin
   Date:           Wed Jun 14 09:30:20 UTC 2017

   Modified Files:
           pkgsrc/net/dnstracer: Makefile distinfo
   Added Files:
           pkgsrc/net/dnstracer/patches: patch-Makefile

   Log Message:
   Fix build on Darwin and SunOS.

diffstat:

 net/dnstracer/Makefile               |   4 +++-
 net/dnstracer/distinfo               |   3 ++-
 net/dnstracer/patches/patch-Makefile |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r af3fb1ba548a -r d65d3f2d142d net/dnstracer/Makefile
--- a/net/dnstracer/Makefile    Wed Jun 21 18:17:36 2017 +0000
+++ b/net/dnstracer/Makefile    Wed Jun 21 18:19:54 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2016/07/09 06:38:41 wiz Exp $
+# $NetBSD: Makefile,v 1.17.6.1 2017/06/21 18:19:54 bsiegert Exp $
 
 DISTNAME=              dnstracer-1.10
 PKGREVISION=           2
@@ -17,6 +17,8 @@
 AUTO_MKDIRS=           yes
 USE_TOOLS+=            gzip tar perl:run pod2man
 
+CFLAGS.SunOS+=         -Du_int16_t=uint16_t -Du_int32_t=uint32_t
+LDFLAGS.Darwin+=       -lresolv
 LDFLAGS.SunOS+=                -lresolv -lsocket -lnsl
 
 # filename is .tar.bz2, but it seems .tar.gz format
diff -r af3fb1ba548a -r d65d3f2d142d net/dnstracer/distinfo
--- a/net/dnstracer/distinfo    Wed Jun 21 18:17:36 2017 +0000
+++ b/net/dnstracer/distinfo    Wed Jun 21 18:19:54 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 00:34:58 agc Exp $
+$NetBSD: distinfo,v 1.7.12.1 2017/06/21 18:19:54 bsiegert Exp $
 
 SHA1 (dnstracer-1.10.tar.bz2) = b08c3b5d90226610931e49144b3e7fdf2d567d8a
 RMD160 (dnstracer-1.10.tar.bz2) = e5ab05ac6464e5aae4f3d7ce460ab7f4a9fbecf0
 SHA512 (dnstracer-1.10.tar.bz2) = 8174f92c5c1b300c1011a24f0cf2f16dc2b52a082729e52d1033a047e20d132d6005b89618ecbbd25cbdc1c95cdc0748cf666bdc56b769b240d8885469bc6e05
 Size (dnstracer-1.10.tar.bz2) = 19169 bytes
+SHA1 (patch-Makefile) = 30ee38e87cdeb7bb1f9ee73714a3d8305f229baa
 SHA1 (patch-dnstracer.c) = a21dbd54c3fd742c8650b95fcb4fd84c6540f537
diff -r af3fb1ba548a -r d65d3f2d142d net/dnstracer/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnstracer/patches/patch-Makefile      Wed Jun 21 18:19:54 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1.2.2 2017/06/21 18:19:54 bsiegert Exp $
+
+Use pkgsrc flags.
+
+--- Makefile.orig      2008-06-11 12:51:35.000000000 +0000
++++ Makefile
+@@ -18,7 +18,7 @@ clean:
+       -rm dnstracer.o dnstracer dnstracer.8 dnstracer.core
+ 
+ dnstracer: dnstracer.c dnstracer-missing.h
+-      $(CC) -Wall -o dnstracer -DVERSION="${VERSION}" dnstracer.c
++      $(CC) $(CFLAGS) -o dnstracer $(LDFLAGS) -DVERSION="${VERSION}" dnstracer.c
+ 
+ dnstracer.8: dnstracer.pod
+       pod2man --release="${MANDATE}" --date="${MANDATE}" \



Home | Main Index | Thread Index | Old Index