Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2003 15:20:14 +0200 (CEST)
From:      Janos Mohacsi <mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        knu@FreeBSD.org
Subject:   ports/58277: Maintainer update: zonecheck 2.0.0b8
Message-ID:  <200310201320.h9KDKEYM081241@norfolk.ki.iif.hu>
Resent-Message-ID: <200310201330.h9KDUFk7068457@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58277
>Category:       ports
>Synopsis:       Maintainer update: zonecheck 2.0.0b8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 20 06:30:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
NIIF
>Environment:
System: FreeBSD norfolk.ki.iif.hu 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Wed Sep 24 06:43:56 CEST 2003 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386


>Description:
Maintainer update of dns/zonecheck to verion 2.0.0b8 and slight fixes of 
dependency problem. 

Changes in original package:
- handle the loss of the TCP connection during DNS queries
- ip6.int zone handled better
- checking the coherence between SOA of the different nameservers

Changes in port:
- require GTK if compiled "WITH_X11" switch on
- fix dependency for GTK2
- Better ruby 1.8 handling
- Be more specific on throwing BROKEN error: 
	if RUBY_VER != RUBY_DEFAULT_VER 
	and compiled with "WITH_X11" switched on
	otherwise ruby18 handled properly

Currently I did not find reasonable method to force using ruby18 
in package dependency compilation.


>How-To-Repeat:
	Apply this diff.
>Fix:

diff -ruN zonecheck.bak/Makefile zonecheck/Makefile
--- zonecheck.bak/Makefile	Mon Oct 20 09:25:00 2003
+++ zonecheck/Makefile	Mon Oct 20 15:02:57 2003
@@ -6,28 +6,32 @@
 #
 
 PORTNAME=	zonecheck
-PORTVERSION=	2.0.0b7
+PORTVERSION=	2.0.0b8
 CATEGORIES=	dns ipv6 ruby
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	janos.mohacsi@bsd.hu
-COMMENT=	Perform consistency checks on DNS zone files
+COMMENT=	Perform consistency checks on DNS zone
 
-RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk
+.if defined(WITH_X11)
+RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+.endif
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_GMAKE=	yes
 USE_RUBY=	yes
 NO_BUILD=	yes
 RUBY_VER=	1.8
+#RUBY_DEFAULT_VER=	1.8
+USE_RUBY_FETURES=	ruby18
 MAN1=		zonecheck.1
 
 .include <bsd.port.pre.mk>
 
-.if ${RUBY_DEFAULT_VER} != ${RUBY_VER}
-BROKEN=		Broken dependency. This might be only a package building issue. The problem is that the default Ruby version for i386 is ${RUBY_DEFAULT_VER}, while the default version for the other architectures is ${RUBY_VER}. This port requires Ruby ${RUBY_VER}. If you are using the right Ruby version, please remove the BROKEN line from the Makefile and try again.
+.if ${RUBY_DEFAULT_VER} != ${RUBY_VER} && defined(WITH_X11)
+BROKEN=	Dependency problem. The problem is that the default Ruby version for i386 is ${RUBY_DEFAULT_VER}, while the default version for the other architectures is ${RUBY_VER}. This port requires Ruby ${RUBY_VER}. If you you have ruby ${RUBY_VER} installed define RUBY_DEFAULT_VER=1.8 in /etc/make.conf and make really default (i.e.: link ruby18 to link) and restart the make.
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN zonecheck.bak/distinfo zonecheck/distinfo
--- zonecheck.bak/distinfo	Tue Sep  2 15:56:37 2003
+++ zonecheck/distinfo	Mon Oct 20 11:51:54 2003
@@ -1 +1 @@
-MD5 (zonecheck-2.0.0b7.tgz) = bd31515da6e27206d8383948c375378c
+MD5 (zonecheck-2.0.0b8.tgz) = 8c77a544efa24bc10db2bf6a934606ba
diff -ruN zonecheck.bak/pkg-descr zonecheck/pkg-descr
--- zonecheck.bak/pkg-descr	Tue Sep  2 15:56:37 2003
+++ zonecheck/pkg-descr	Mon Oct 20 11:42:13 2003
@@ -6,7 +6,7 @@
     * Does not depend on policies
     * Fine grained test selection (by test, by categories, by zones)
     * Full IPv6 support (connectivity and AAAA records)
-    * Supports several input/output interfaces such as CLI, CGI, GUI
+    * Supports several input/output interfaces such as CLI, GUI
     * Dedicated mode for use inside shell scripts
     * Batch mode available (ideal when dealing with several domains)
     * Multi-threaded application in order to cut down checking time
diff -ruN zonecheck.bak/pkg-plist zonecheck/pkg-plist
--- zonecheck.bak/pkg-plist	Tue Sep  2 15:56:37 2003
+++ zonecheck/pkg-plist	Mon Oct 20 12:18:54 2003
@@ -33,6 +33,8 @@
 libexec/zc/locale/test/connectivity.fr
 libexec/zc/locale/test/generic.en
 libexec/zc/locale/test/generic.fr
+libexec/zc/locale/test/interop.en
+libexec/zc/locale/test/interop.fr
 libexec/zc/locale/test/loopback.en
 libexec/zc/locale/test/loopback.fr
 libexec/zc/locale/test/mail.en
@@ -54,6 +56,7 @@
 libexec/zc/test/axfr.rb
 libexec/zc/test/connectivity.rb
 libexec/zc/test/generic.rb
+libexec/zc/test/interop.rb
 libexec/zc/test/loopback.rb
 libexec/zc/test/mail.rb
 libexec/zc/test/misc.rb
@@ -96,6 +99,7 @@
 libexec/zc/zc/report/byseverity.rb
 libexec/zc/zc/testmanager.rb
 libexec/zc/zc/zc.rb
+libexec/zc/zc/zonecheck.rb
 share/doc/zc/BUGS
 share/doc/zc/INSTALL
 share/doc/zc/README

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310201320.h9KDKEYM081241>