Bug 59899 - maintainer update: dns/zonecheck 2.0.0b10
Summary: maintainer update: dns/zonecheck 2.0.0b10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergei Kolobov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-02 11:00 UTC by Mohacsi Janos
Modified: 2003-12-15 16:40 UTC (History)
0 users

See Also:


Attachments
file.diff (7.73 KB, patch)
2003-12-02 11:00 UTC, Mohacsi Janos
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mohacsi Janos 2003-12-02 11:00:42 UTC
	Maintainer update: to dns/zonecheck to version 2.0.0b10 
	original package changes:
	-  checking of delegation response size 
     	-  SOA refresh, retry, minimum and expire fields have their minimum
       and maximum value configurable
       - added profile (test set) selection

	port changes:
	- added support to CGI interface

How-To-Repeat: 	Apply this diff.
Comment 1 Sergei Kolobov freebsd_committer freebsd_triage 2003-12-13 23:27:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

I'll take it.
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2003-12-14 16:15:23 UTC
Janos,

The port doesn't fetch for me:

sgk@elf% make fetch
You can install with CGI support if enable it with WITH_ZONECHECK_CGI
>> zonecheck-2.0.0b10.tgz doesn't seem to exist in /data/FreeBSD/distfiles/.
>> Attempting to fetch from http://savannah.nongnu.org/download/zonecheck/src/.
fetch: http://savannah.nongnu.org/download/zonecheck/src/zonecheck-2.0.0b10.tgz: Moved Temporarily
>> Attempting to fetch from ftp://ftp.iDaemons.org/pub/distfiles/.
fetch: ftp://ftp.iDaemons.org/pub/distfiles/zonecheck-2.0.0b10.tgz: File unavailable (e.g., file not found, no access)
>> Couldn't fetch it - please try to retrieve this
>> port manually into /data/FreeBSD/distfiles/ and try again.
*** Error code 1

In addition to that, http://www.zonecheck.fr/ indicate that the 2.0.0
release is out. Can you please update the port and submit as a follow-up
to this PR.

Sergei
Comment 3 Sergei Kolobov freebsd_committer freebsd_triage 2003-12-14 16:16:23 UTC
State Changed
From-To: open->feedback

Awaiting submitter's feedback.
Comment 4 Mohacsi Janos 2003-12-15 09:04:51 UTC
Dear Sergei,
	There is an unfortunate situation at Savannah, since systems of
Savannah project seems to be cracked.
        see: http://savannah.gnu.org/statement.html
	There is an alternate source for zonecheck, that was added.

	I send a new diff set against 2.0.0b9 (that is currently in the
CVS).


Janos Mohacsi
Network Engineer, Research Associate
NIIF/HUNGARNET, HUNGARY
Key 00F9AF98: 8645 1312 D249 471B DBAE  21A2 9F52 0D1F 00F9 AF98

/////////////////////////////////////////////////////


diff -ruN zonecheck.old/Makefile zonecheck/Makefile
--- zonecheck.old/Makefile	Tue Nov  4 16:03:13 2003
+++ zonecheck/Makefile	Mon Dec 15 09:45:39 2003
@@ -6,9 +6,10 @@
 #

 PORTNAME=	zonecheck
-PORTVERSION=	2.0.0b9
+PORTVERSION=	2.0.0
 CATEGORIES=	dns ipv6 ruby
-MASTER_SITES=	${MASTER_SITE_SAVANNAH}
+MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
+		ftp://ftp.nic.fr/pub/mirror/zonecheck/src/
 MASTER_SITE_SUBDIR=	${PORTNAME}/src
 EXTRACT_SUFX=	.tgz

@@ -29,6 +30,24 @@

 MAN1=		zonecheck.1
 DOCS=		BUGS INSTALL README TODO
+
+ZONECHECK_TARGET=	common cli
+.if defined(WITH_ZONECHECK_CGI)
+ZONECHECK_TARGET+=	cgi
+PLIST_SUB+=	ZONECHECK_CGI=""
+.else
+PLIST_SUB+=	ZONECHECK_CGI="@comment "
+.endif
+
+pre-everything::
+.if !defined(WITH_ZONECHECK_CGI)
+	@${ECHO_MSG}    You can install with CGI support if enable it with WITH_ZONECHECK_CGI
+.endif
+
+do-install:
+	@(cd ${INSTALL_WRKSRC} && \
+		${RUBY} ./installer.rb ${ZONECHECK_TARGET} \
+		-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" )

 .if !defined(NOPORTDOCS)
 post-install:
diff -ruN zonecheck.old/distinfo zonecheck/distinfo
--- zonecheck.old/distinfo	Tue Nov  4 09:57:11 2003
+++ zonecheck/distinfo	Mon Dec 15 09:45:56 2003
@@ -1 +1 @@
-MD5 (zonecheck-2.0.0b9.tgz) = fb3e21e94d155a3a949498d513a829ae
+MD5 (zonecheck-2.0.0.tgz) = 7723f2ed626bf17f5fe1de34d9fa42d6
diff -ruN zonecheck.old/files/patch-Makefile zonecheck/files/patch-Makefile
--- zonecheck.old/files/patch-Makefile	Tue Nov  4 10:09:04 2003
+++ zonecheck/files/patch-Makefile	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- Makefile.orig	Fri Oct 24 15:55:25 2003
-+++ Makefile	Tue Nov  4 10:07:49 2003
-@@ -9,7 +9,7 @@
- # DATE        : $Date: 2003/10/24 13:55:25 $
- #
-
--RUBY ?=ruby
-+RUBY ?=ruby18
- ZC_INSTALLER=$(RUBY) ./installer.rb
-
-
diff -ruN zonecheck.old/files/patch-installer.rb zonecheck/files/patch-installer.rb
--- zonecheck.old/files/patch-installer.rb	Tue Nov  4 13:07:29 2003
+++ zonecheck/files/patch-installer.rb	Mon Dec 15 09:28:18 2003
@@ -1,11 +1,32 @@
---- installer.rb.orig	Mon Oct 27 17:42:01 2003
-+++ installer.rb	Tue Nov  4 13:06:14 2003
-@@ -190,8 +190,6 @@
-     def rule_all
- 	inst_common ; patch_common
- 	inst_cli
--	inst_cgi    ; patch_cgi
--	inst_doc
+--- installer.rb.orig	Mon Nov 17 18:59:32 2003
++++ installer.rb	Tue Dec  2 00:46:09 2003
+@@ -55,16 +55,19 @@
+ 	ENV['DOCDIR'    ] ||= "#{ENV['PREFIX']}/share/doc"
+ 	ENV['ETCDIR'    ] ||= "#{ENV['PREFIX']}/etc"
+ 	ENV['CGIDIR'    ] ||= "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}/cgi-bin"
++	ENV['WWWDIR'    ] ||= "#{ENV['PREFIX']}/www"
+
+ 	ENV['VERSION'	] ||= VERSION
+
+ 	@installdir    = "#{ENV['LIBEXEC']}/#{ENV['PROGNAME']}"
+ 	@confdir       = "#{ENV['ETCDIR']}/#{ENV['PROGNAME']}#{ENV['ETCDIST']}"
+ 	@zc            = "#{@installdir}/zc/zc.rb"
++	@wwwdir    = "#{ENV['WWWDIR']}/#{ENV['PROGNAME']}"
+
+ 	@ch_installdir = "#{ENV['CHROOT']}#{@installdir}"
+ 	@ch_confdir    = "#{ENV['CHROOT']}#{@confdir}"
+ 	@ch_zc         = "#{ENV['CHROOT']}#{@zc}"
++	@ch_wwwdir = "#{ENV['CHROOT']}#{@wwwdir}"
+
+ 	@verbose       = true
      end
-     def rule_cli
- 	inst_common ; patch_common
+@@ -185,7 +188,8 @@
+
+     def inst_cgi
+ 	puts "==> Installing HTML pages"
+-	cp_r "www", @ch_installdir,			:verbose => @verbose
++	mkdir_p	@ch_wwwdir,				:verbose => @verbose
++	cp_r "www", @ch_wwwdir,			:verbose => @verbose
+ 	puts
+
+ 	puts "==> Installing CGI"
diff -ruN zonecheck.old/pkg-descr zonecheck/pkg-descr
--- zonecheck.old/pkg-descr	Tue Nov  4 09:36:12 2003
+++ zonecheck/pkg-descr	Mon Dec 15 09:28:18 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, GUI
+    * Supports several input/output interfaces such as CLI, GUI, CGI
     * 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.old/pkg-plist zonecheck/pkg-plist
--- zonecheck.old/pkg-plist	Tue Nov  4 16:03:13 2003
+++ zonecheck/pkg-plist	Mon Dec 15 09:51:06 2003
@@ -1,9 +1,9 @@
-@comment $FreeBSD: ports/dns/zonecheck/pkg-plist,v 1.3 2003/11/04 15:03:13 sergei Exp $
 bin/zonecheck
-libexec/zonecheck/zc/config/lexer.rb
-libexec/zonecheck/zc/config/parser.rb
-libexec/zonecheck/zc/config/pos.rb
-libexec/zonecheck/zc/config/token.rb
+libexec/zonecheck/zc/data/config.dtd
+libexec/zonecheck/zc/data/logo.rb
+libexec/zonecheck/zc/data/msgcat.dtd
+libexec/zonecheck/zc/data/xpm.rb
+libexec/zonecheck/zc/data/zonecheck.dtd
 libexec/zonecheck/zc/cache.rb
 libexec/zonecheck/zc/cachemanager.rb
 libexec/zonecheck/zc/config.rb
@@ -20,9 +20,6 @@
 libexec/zonecheck/zc/testmanager.rb
 libexec/zonecheck/zc/zc.rb
 libexec/zonecheck/zc/zonecheck.rb
-libexec/zonecheck/zc/data/logo.rb
-libexec/zonecheck/zc/data/xpm.rb
-libexec/zonecheck/zc/data/zonecheck.dtd
 libexec/zonecheck/zc/ext/array.rb
 libexec/zonecheck/zc/ext/gtk.rb
 libexec/zonecheck/zc/input/inetd.rb
@@ -101,18 +98,6 @@
 libexec/zonecheck/locale/inetd.fr
 libexec/zonecheck/locale/zc.en
 libexec/zonecheck/locale/zc.fr
-etc/zonecheck-dist/zc.conf
-etc/zonecheck-dist/rootservers
-etc/zonecheck-dist/de.rules
-etc/zonecheck-dist/default.rules
-etc/zonecheck-dist/fr.rules
-etc/zonecheck-dist/reverse.rules
-%%PORTDOCS%%%%DOCSDIR%%/BUGS
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm libexec/zonecheck/zc/config
 @dirrm libexec/zonecheck/zc/data
 @dirrm libexec/zonecheck/zc/ext
 @dirrm libexec/zonecheck/zc/input
@@ -125,5 +110,51 @@
 @dirrm libexec/zonecheck/test
 @dirrm libexec/zonecheck/locale/test
 @dirrm libexec/zonecheck/locale
-@dirrm libexec/zonecheck
+etc/zonecheck-dist/de.profile
+etc/zonecheck-dist/default.profile
+etc/zonecheck-dist/afnic.profile
+etc/zonecheck-dist/reverse.profile
+etc/zonecheck-dist/rootservers
+etc/zonecheck-dist/zc.conf
 @dirrm etc/zonecheck-dist/
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%ZONECHECK_CGI%%www/zonecheck/www/html/batch.html.en
+%%ZONECHECK_CGI%%www/zonecheck/www/html/batch.html.fr
+%%ZONECHECK_CGI%%www/zonecheck/www/html/batch.html.jp
+%%ZONECHECK_CGI%%www/zonecheck/www/html/form.html.en
+%%ZONECHECK_CGI%%www/zonecheck/www/html/form.html.fr
+%%ZONECHECK_CGI%%www/zonecheck/www/html/form.html.jp
+%%ZONECHECK_CGI%%www/zonecheck/www/zonecheck.conf.in
+%%ZONECHECK_CGI%%www/zonecheck/www/img/details.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/element.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/fatal.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/gear.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/info.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/light.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/logo.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/loupe.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/notepad.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/ok.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/primary.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/ref.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/secondary.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/warning.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/zc-fav.png
+%%ZONECHECK_CGI%%www/zonecheck/www/img/zone.png
+%%ZONECHECK_CGI%%www/zonecheck/www/js/formvalidation.js
+%%ZONECHECK_CGI%%www/zonecheck/www/js/popupmenu.js
+%%ZONECHECK_CGI%%www/zonecheck/www/js/progress.js
+%%ZONECHECK_CGI%%www/zonecheck/www/style/zc.css
+%%ZONECHECK_CGI%%@dirrm www/zonecheck/www/html
+%%ZONECHECK_CGI%%@dirrm www/zonecheck/www/img
+%%ZONECHECK_CGI%%@dirrm www/zonecheck/www/js
+%%ZONECHECK_CGI%%@dirrm www/zonecheck/www/style
+%%ZONECHECK_CGI%%@dirrm www/zonecheck/www
+%%ZONECHECK_CGI%%@dirrm www/zonecheck/
+%%ZONECHECK_CGI%%libexec/zonecheck/cgi-bin/zc.cgi
+%%ZONECHECK_CGI%%@dirrm libexec/zonecheck/cgi-bin/
+@dirrm libexec/zonecheck/
Comment 5 Sergei Kolobov freebsd_committer freebsd_triage 2003-12-15 16:39:53 UTC
State Changed
From-To: feedback->closed

Committed, thanks!