pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/host Switch to the host program from Greg Woods. T...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/328537d8eb94
branches:  trunk
changeset: 491586:328537d8eb94
user:      christos <christos%pkgsrc.org@localhost>
date:      Sat Mar 26 05:19:20 2005 +0000

description:
Switch to the host program from Greg Woods. This one is supported and more
featurefull.

diffstat:

 net/host/Makefile         |   40 ++-------
 net/host/PLIST            |    3 +-
 net/host/distinfo         |   12 +-
 net/host/patches/patch-aa |   42 ++------
 net/host/patches/patch-ab |   20 ----
 net/host/patches/patch-ac |   16 ---
 net/host/patches/patch-ad |  203 ----------------------------------------------
 7 files changed, 28 insertions(+), 308 deletions(-)

diffs (truncated from 381 to 300 lines):

diff -r cbdbb0399abb -r 328537d8eb94 net/host/Makefile
--- a/net/host/Makefile Sat Mar 26 03:55:44 2005 +0000
+++ b/net/host/Makefile Sat Mar 26 05:19:20 2005 +0000
@@ -1,42 +1,20 @@
-# $NetBSD: Makefile,v 1.8 2004/01/20 12:22:19 agc Exp $
+# $NetBSD: Makefile,v 1.9 2005/03/26 05:19:20 christos Exp $
 
-DISTNAME=      host_991529
-PKGNAME=       host-991529
+DISTNAME=      host-20040812
 CATEGORIES=    net
-MASTER_SITES=  ${MASTER_SITE_BACKUP}
-EXTRACT_SUFX=  .tar.Z
+MASTER_SITES=  ftp://ftp.weird.com/pub/local/
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
-HOMEPAGE=      http://www.nikhef.nl/user/e07/
-COMMENT=       Powerful DNS query and testing tool
-
-CONFLICTS+=    bind-[0-9]*
-
-WRKSRC=                ${WRKDIR}
+HOMEPAGE=      http://www.weird.com/~woods/projects/host.html
+COMMENT=       A powerful DNS query and testing tool
 
 .include "../../mk/bsd.prefs.mk"
 
-# If you've removed $HOSTALIASES support from your system then
-# you won't have the hostalias() function in libc....
-.if !defined(NO_HOSTALIASES)
-MAKE_ENV+=     ALLOW_HOSTALIASES=-DALLOW_HOSTALIASES
-.endif
-
-NO_CONFIGURE=  yes
-
-# MAKE_ENV will have the right effect...
-MAKEFLAGS+=    -e
+NO_CONFIGURE = yes
+NO_PATCH =     yes
 
-post-build:
-       ${SED} -e 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/mxlookup \
-               > ${WRKDIR}/mxlookup.out
-       ${SED} -e 's,@PREFIX@,${PREFIX},g' ${WRKSRC}/rblookup \
-               > ${WRKDIR}/rblookup.out
+MAKEFILE=      Makefile.BSD
 
-do-install:
-       ${INSTALL_PROGRAM} ${WRKDIR}/host ${PREFIX}/bin
-       ${INSTALL_SCRIPT} ${WRKDIR}/mxlookup.out ${PREFIX}/bin/mxlookup
-       ${INSTALL_SCRIPT} ${WRKDIR}/rblookup.out ${PREFIX}/bin/rblookup
-       ${INSTALL_MAN} ${WRKDIR}/host.1 ${PREFIX}/man/man1/host.1
+MAKE_FLAGS+=   __NetBSD__=1
 
 .include "../../mk/bsd.pkg.mk"
diff -r cbdbb0399abb -r 328537d8eb94 net/host/PLIST
--- a/net/host/PLIST    Sat Mar 26 03:55:44 2005 +0000
+++ b/net/host/PLIST    Sat Mar 26 05:19:20 2005 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:36 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/03/26 05:19:20 christos Exp $
 bin/host
 bin/mxlookup
+bin/nscheck
 bin/rblookup
 man/man1/host.1
diff -r cbdbb0399abb -r 328537d8eb94 net/host/distinfo
--- a/net/host/distinfo Sat Mar 26 03:55:44 2005 +0000
+++ b/net/host/distinfo Sat Mar 26 05:19:20 2005 +0000
@@ -1,9 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:13:49 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/03/26 05:19:20 christos Exp $
 
-SHA1 (host_991529.tar.Z) = 28097ee01a94bb82cec69a3be556a869ea236b5f
-RMD160 (host_991529.tar.Z) = 52b734d567b4a474f5cac94a5e44580a9eee7281
-Size (host_991529.tar.Z) = 184455 bytes
-SHA1 (patch-aa) = f9b4e0668419adb2223b315bb7facd03f1fa7e83
-SHA1 (patch-ab) = 471a67439f2e5847b510f0e73bb857226c79c450
-SHA1 (patch-ac) = b03893231b796f70412025eca7b8fb0884348e3a
-SHA1 (patch-ad) = 5440b41333d829e8522fb85189c8fe3159f74166
+SHA1 (host-20040812.tar.gz) = 02027effe88a851e6cecf133cef8ba096af48258
+Size (host-20040812.tar.gz) = 147758 bytes
+SHA1 (patch-aa) = bf2d0b44271feed9a1e595d78e34304052e34ab5
diff -r cbdbb0399abb -r 328537d8eb94 net/host/patches/patch-aa
--- a/net/host/patches/patch-aa Sat Mar 26 03:55:44 2005 +0000
+++ b/net/host/patches/patch-aa Sat Mar 26 05:19:20 2005 +0000
@@ -1,30 +1,14 @@
-$NetBSD: patch-aa,v 1.2 2003/10/11 14:18:58 grant Exp $
+$NetBSD: patch-aa,v 1.3 2005/03/26 05:19:20 christos Exp $
 
---- Makefile.orig      2000-03-15 13:51:39.000000000 -0800
-+++ Makefile   2003-03-19 14:15:48.000000000 -0800
-@@ -4,11 +4,13 @@
- # Adapt the installation directories to your local standards.
- # ----------------------------------------------------------------------
- 
-+PREFIX?= /usr/local
-+
- # This is where the host executable will go.
--DESTBIN = /usr/local/bin
-+DESTBIN = ${PREFIX}/bin
- 
- # This is where the host manual page will go.
--DESTMAN = /usr/local/man
-+DESTMAN = ${PREFIX}/man
- 
- BINDIR = $(DESTBIN)
- MANDIR = $(DESTMAN)/man1
-@@ -40,6 +42,9 @@
- 
- SYSDEFS =
- 
-+#if defined(NetBSD) && you have not removed support for $HOSTALIASES
-+SYSDEFS = ${ALLOW_HOSTALIASES}
-+
- # ----------------------------------------------------------------------
- # Configuration definitions.
- # See also the header file conf.h for more configuration definitions.
+--- port.h.orig        2003-06-04 21:00:07.000000000 -0400
++++ port.h     2005-03-24 16:00:55.000000000 -0500
+@@ -154,7 +154,8 @@
+  */
+ #if defined(__NAMESER) && (!defined(__GLIBC__) || ((__RES - 0) > 19991006)) && \
+       ((__NAMESER - 0) >= 19991006 || \
+-       (defined(__FreeBSD__) && (__NAMESER - 0) >= 19961001))
++       (defined(__FreeBSD__) && (__NAMESER - 0) >= 19961001)) && \
++       !defined(__NetBSD__)
+ # define HAVE_GETIPNODEBYNAME 1
+ # define HAVE_GETIPNODEBYADDR 1
+ # define HAVE_FREEHOSTENT     1
diff -r cbdbb0399abb -r 328537d8eb94 net/host/patches/patch-ab
--- a/net/host/patches/patch-ab Sat Mar 26 03:55:44 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/03/10 17:06:37 wiz Exp $
-
---- info.c.orig        Mon Mar 27 12:59:11 2000
-+++ info.c
-@@ -85,6 +85,7 @@
-               if (*cp == '.')
-                       dot++;
- 
-+#ifdef ALLOW_HOSTALIASES
- /*
-  * Check for aliases of single name.
-  * Note that the alias is supposed to be fully qualified.
-@@ -97,6 +98,7 @@
-               result = get_domaininfo(cp, (char *)NULL);
-               return(result);
-       }
-+#endif
- 
- /*
-  * Trailing dot means absolute (fully qualified) address.
diff -r cbdbb0399abb -r 328537d8eb94 net/host/patches/patch-ac
--- a/net/host/patches/patch-ac Sat Mar 26 03:55:44 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2003/10/11 14:18:58 grant Exp $
-
---- mxlookup.orig      1995-01-07 16:07:04.000000000 -0800
-+++ mxlookup   2003-03-19 14:17:45.000000000 -0800
-@@ -27,9 +27,9 @@
- # ----------------------------------------------------------------------
- 
- # This is where the ``host'' executable lives.
--BINDIR=/usr/local/bin
-+BINDIR=@PREFIX@/bin
- 
--PATH=${BINDIR}:/bin:/usr/bin:/usr/ucb ; export PATH
-+PATH=${BINDIR}:/bin:/usr/bin ; export PATH
- 
- cmd=`basename $0`
- 
diff -r cbdbb0399abb -r 328537d8eb94 net/host/patches/patch-ad
--- a/net/host/patches/patch-ad Sat Mar 26 03:55:44 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2003/10/11 14:18:58 grant Exp $
-
---- rblookup.orig      1999-01-26 16:50:22.000000000 -0800
-+++ rblookup   2003-03-19 14:18:44.000000000 -0800
-@@ -12,8 +12,8 @@
- # of the Mail Abuse Prevention System. See: http://maps.vix.com/rbl
- #
- #     Syntax:
--#             rblookup hostname
--#             rblookup -i dottedquad
-+#             rblookup hostname ...
-+#             rblookup -i dottedquad ...
- #
- #     Returns:
- #             zero if the given host was found on the blacklist.
-@@ -45,24 +45,71 @@
- # ----------------------------------------------------------------------
- 
- # This is where the ``host'' executable lives.
--BINDIR=/usr/local/bin
-+BINDIR=@PREFIX@/bin
- 
--PATH=${BINDIR}:/bin:/usr/bin:/usr/ucb ; export PATH
-+PATH=${BINDIR}:/bin:/usr/bin ; export PATH
- 
- cmd=`basename $0`
- 
--options="[-maps] [-orbs] [-i] [-v]"
--usage="Usage: $cmd $options hostname"
-+options="[-dul] [-maps] [-orbs] [-relays] [-i] [-v]"
-+usage="Usage: $cmd $options hostname|IP# ..."
- 
- # ----------------------------------------------------------------------
--# Configuration.
-+# RBLs:
- # ----------------------------------------------------------------------
- 
--MAPSROOT="rbl.maps.vix.com"
-+# MAPS RBL: Mail Abuse Protection System Realtime Blackhole List
-+# <URL:http://mail-abuse.org/rbl/>
-+# 
-+# This listing is human-operated, and is one of the most popular
-+# blacklists of spam-originating systems.  Originally started by Paul
-+# Vixie, this is the original "RBL" system.
-+#
-+MAPSROOT="blackholes.mail-abuse.org"
-+ALLRBLS="${MAPSROOT} ${ALLRBLS}"
-+
-+# MAPS DUL: Mail Abuse Protection System Dial-up User List
-+# <URL:http://mail-abuse.org/dul/>
-+# 
-+# This list was started from a list compiled by "Afterburner" (the
-+# head-honcho abuse guy at Erols Internet), and extended to be easily
-+# added to over time.  This service was originally called the ORCA
-+# DUL, and was operated at "dul.orca.bc.ca".  The MAPS project invited
-+# Al Iverson, the then-current DUL maintainer, to host it on their
-+# systems.
-+# 
-+DULROOT="dialups.mail-abuse.org"
-+ALLRBLS="${DULROOT} ${ALLRBLS}"
-+
-+# ORBS: Open Relay Behaviour-modification System
-+# <URL:http://www.orbs.org/>
-+# 
-+# This is an listing of IP addresses that have been submitted by spam
-+# victims and others and have been automatically tested and proven to
-+# be the output ports of SMTP servers that will transmit at least one
-+# message to any system for anyone (an "open email relay").
-+# Administrators of listed servers can request re-testing and
-+# automated systems will remove those that have proven to close their
-+# relays.  Input points of multi-level relays can be submitted too,
-+# but only the output point is listed in the DNS RBL.
-+# 
- ORBSROOT="relays.orbs.org"
-+ALLRBLS="${ORBSROOT} ${ALLRBLS}"
-+
-+# RSS: MAPS Relay Spam Stopper
-+# <URL:http://mail-abuse.org/rss/>
-+# 
-+# This is a list of e-mail relays which have been verified to have
-+# been used to send spam.  They supposedly have archives of the spam
-+# they received through these relays.  They do not list multi-level
-+# relays (and thus miss a vast number of the actively exploited
-+# systems out there -- I really hope they change this policy)!
-+#
-+RELAYSROOT="relays.mail-abuse.org"
-+ALLRBLS="${RELAYSROOT} ${ALLRBLS}"
- 
- # ----------------------------------------------------------------------
--# Exit codes from <sysexits.h>
-+# Exit codes from <sysexits.h>, just in case we are called from a mailer
- # ----------------------------------------------------------------------
- 
- EX_OK=0
-@@ -85,8 +132,11 @@
- # ----------------------------------------------------------------------
- 
- verbose=
--reverse=
--orbs=
-+reverse=false
-+orbs=false
-+dul=false
-+maps=false
-+relays=false
- 
- skip=
- for i
-@@ -95,7 +145,9 @@
- 
-       case "$i" in
-       -orbs)  orbs=true ;;
--      -maps)  orbs= ;;
-+      -dul)   dul=true ;;
-+      -maps)  maps=true ;;
-+      -relays) relays=true ;;
-       -i)     reverse=true ;;
-       -v)     verbose="-v" ;;
-       -d)     exec=echo ;;
-@@ -105,28 +157,10 @@
-       shift
- done



Home | Main Index | Thread Index | Old Index