1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Update to 2.0.0b9

- Fix broken dependency
- Properly handle docs and respect NOPORTDOCS

PR:		58921
Submitted by:	maintainer
This commit is contained in:
Sergei Kolobov 2003-11-04 15:03:14 +00:00
parent 33911e3f2e
commit dd3641162f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93067
6 changed files with 171 additions and 187 deletions

View File

@ -6,30 +6,34 @@
# #
PORTNAME= zonecheck PORTNAME= zonecheck
PORTVERSION= 2.0.0b7 PORTVERSION= 2.0.0b9
CATEGORIES= dns ipv6 ruby CATEGORIES= dns ipv6 ruby
MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}/src MASTER_SITE_SUBDIR= ${PORTNAME}/src
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz
MAINTAINER= janos.mohacsi@bsd.hu MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Perform consistency checks on DNS zone files COMMENT= Perform consistency checks on DNS zones
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
BROKEN= "Broken dependency; will be removed after Feb 2"
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_RUBY= yes
NO_BUILD= yes
RUBY_VER= 1.8
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.
.endif .endif
.include <bsd.port.post.mk> USE_GMAKE= yes
USE_RUBY= yes
RUBY_VER= 1.8
USE_RUBY_FEATURES= ruby18
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= zonecheck.1
DOCS= BUGS INSTALL README TODO
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (zonecheck-2.0.0b7.tgz) = bd31515da6e27206d8383948c375378c MD5 (zonecheck-2.0.0b9.tgz) = fb3e21e94d155a3a949498d513a829ae

View File

@ -1,51 +1,11 @@
--- Makefile.orig Wed Aug 27 10:51:19 2003 --- Makefile.orig Fri Oct 24 15:55:25 2003
+++ Makefile Tue Sep 2 15:10:51 2003 +++ Makefile Tue Nov 4 10:07:49 2003
@@ -37,7 +37,7 @@ @@ -9,7 +9,7 @@
# # DATE : $Date: 2003/10/24 13:55:25 $
#
PREFIX ?= /usr/local -RUBY ?=ruby
-RUBY ?= $(shell which ruby) +RUBY ?=ruby18
+RUBY ?= $(shell which ruby18) ZC_INSTALLER=$(RUBY) ./installer.rb
HTML_PATH ?= /zc
LIBEXEC=$(PREFIX)/libexec
@@ -84,7 +84,7 @@
@echo "Not automatized yet"
-install: install-common install-cli install-cgi install-doc
+install: install-common install-cli install-doc
install-common:
@@ -115,12 +115,11 @@
@echo "==> Installing default configuration file"
$(INSTALL) -d $(ETCDIR)
- $(INSTALL) -b -m 0644 etc/zc.conf $(ETCDIR)
- $(INSTALL) -b -m 0644 etc/zc.conf.fr $(ETCDIR)
- $(INSTALL) -b -m 0644 etc/zc.conf.arpa $(ETCDIR)
+ $(INSTALL) -b -m 0644 etc/zc.conf $(ETCDIR)/zc.conf-dist
+ $(INSTALL) -b -m 0644 etc/zc.conf.fr $(ETCDIR)/zc.conf.fr-dist
+ $(INSTALL) -b -m 0644 etc/zc.conf.arpa $(ETCDIR)/zc.conf.arpa-dist
@echo "*************************"
- @echo "** If you already had a zc.conf file it has been renamed"
- @echo "** to zc.conf.old"
+ @echo "** zc.conf file installed as zc.conf-dist. "
@echo "** Don't forget to edit the zc.conf to reflect your system"
@echo "** configuration"
@echo "*************************"
@@ -142,10 +141,10 @@
install-cli:
@echo "==> Installing CLI"
$(INSTALL) -d $(BINDIR)
- $(LN) -f $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zc
- $(LN) -f $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zonecheck
+ #$(LN) -f $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zc
+ $(LN) -s $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zonecheck
$(INSTALL) -d $(MANDIR)/man1
- $(INSTALL) -m 0644 man/zonecheck.1 $(MANDIR)/man1/zc.1
+ #$(INSTALL) -m 0644 man/zonecheck.1 $(MANDIR)/man1/zc.1
$(INSTALL) -m 0644 man/zonecheck.1 $(MANDIR)/man1/zonecheck.1
@echo

View File

@ -0,0 +1,11 @@
--- 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
end
def rule_cli
inst_common ; patch_common

View File

@ -6,7 +6,7 @@ Features
* Does not depend on policies * Does not depend on policies
* Fine grained test selection (by test, by categories, by zones) * Fine grained test selection (by test, by categories, by zones)
* Full IPv6 support (connectivity and AAAA records) * 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 * Dedicated mode for use inside shell scripts
* Batch mode available (ideal when dealing with several domains) * Batch mode available (ideal when dealing with several domains)
* Multi-threaded application in order to cut down checking time * Multi-threaded application in order to cut down checking time

View File

@ -1,120 +1,129 @@
@comment $FreeBSD$
bin/zonecheck bin/zonecheck
libexec/zc/lib/address.rb libexec/zonecheck/zc/config/lexer.rb
libexec/zc/lib/address/common.rb libexec/zonecheck/zc/config/parser.rb
libexec/zc/lib/address/ipv4.rb libexec/zonecheck/zc/config/pos.rb
libexec/zc/lib/address/ipv6.rb libexec/zonecheck/zc/config/token.rb
libexec/zc/lib/nresolv.rb libexec/zonecheck/zc/cache.rb
libexec/zc/lib/nresolv/compatibility.rb libexec/zonecheck/zc/cachemanager.rb
libexec/zc/lib/nresolv/config.rb libexec/zonecheck/zc/config.rb
libexec/zc/lib/nresolv/constants.rb libexec/zonecheck/zc/console.rb
libexec/zc/lib/nresolv/dbg.rb libexec/zonecheck/zc/dbg.rb
libexec/zc/lib/nresolv/dig_output.rb libexec/zonecheck/zc/framework.rb
libexec/zc/lib/nresolv/dns.rb libexec/zonecheck/zc/instructions.rb
libexec/zc/lib/nresolv/dns_message.rb libexec/zonecheck/zc/locale.rb
libexec/zc/lib/nresolv/dns_name.rb libexec/zonecheck/zc/mail.rb
libexec/zc/lib/nresolv/dns_resource.rb libexec/zonecheck/zc/msgcat.rb
libexec/zc/lib/nresolv/host.rb libexec/zonecheck/zc/param.rb
libexec/zc/lib/nresolv/resolver.rb libexec/zonecheck/zc/publisher.rb
libexec/zc/lib/nresolv/transport.rb libexec/zonecheck/zc/report.rb
libexec/zc/lib/nresolv/wire.rb libexec/zonecheck/zc/testmanager.rb
libexec/zc/lib/textfmt.rb libexec/zonecheck/zc/zc.rb
libexec/zc/lib/whois.rb libexec/zonecheck/zc/zonecheck.rb
libexec/zc/locale/cgi.en libexec/zonecheck/zc/data/logo.rb
libexec/zc/locale/cgi.fr libexec/zonecheck/zc/data/xpm.rb
libexec/zc/locale/cli.en libexec/zonecheck/zc/data/zonecheck.dtd
libexec/zc/locale/cli.fr libexec/zonecheck/zc/ext/array.rb
libexec/zc/locale/gtk.en libexec/zonecheck/zc/ext/gtk.rb
libexec/zc/locale/gtk.fr libexec/zonecheck/zc/input/inetd.rb
libexec/zc/locale/inetd.en libexec/zonecheck/zc/input/cgi.rb
libexec/zc/locale/inetd.fr libexec/zonecheck/zc/input/cli.rb
libexec/zc/locale/test/axfr.en libexec/zonecheck/zc/input/gtk.rb
libexec/zc/locale/test/axfr.fr libexec/zonecheck/zc/publisher/html.rb
libexec/zc/locale/test/connectivity.en libexec/zonecheck/zc/publisher/gtk.rb
libexec/zc/locale/test/connectivity.fr libexec/zonecheck/zc/publisher/text.rb
libexec/zc/locale/test/generic.en libexec/zonecheck/zc/publisher/xml.rb
libexec/zc/locale/test/generic.fr libexec/zonecheck/zc/report/byhost.rb
libexec/zc/locale/test/loopback.en libexec/zonecheck/zc/report/byseverity.rb
libexec/zc/locale/test/loopback.fr libexec/zonecheck/lib/address/common.rb
libexec/zc/locale/test/mail.en libexec/zonecheck/lib/address/ipv4.rb
libexec/zc/locale/test/mail.fr libexec/zonecheck/lib/address/ipv6.rb
libexec/zc/locale/test/misc.en libexec/zonecheck/lib/address.rb
libexec/zc/locale/test/misc.fr libexec/zonecheck/lib/nresolv.rb
libexec/zc/locale/test/mx.en libexec/zonecheck/lib/textfmt.rb
libexec/zc/locale/test/mx.fr libexec/zonecheck/lib/whois.rb
libexec/zc/locale/test/nameserver.en libexec/zonecheck/lib/nresolv/compatibility.rb
libexec/zc/locale/test/nameserver.fr libexec/zonecheck/lib/nresolv/config.rb
libexec/zc/locale/test/ns.en libexec/zonecheck/lib/nresolv/constants.rb
libexec/zc/locale/test/ns.fr libexec/zonecheck/lib/nresolv/dbg.rb
libexec/zc/locale/test/rootserver.en libexec/zonecheck/lib/nresolv/dig_output.rb
libexec/zc/locale/test/rootserver.fr libexec/zonecheck/lib/nresolv/dns.rb
libexec/zc/locale/test/soa.en libexec/zonecheck/lib/nresolv/dns_message.rb
libexec/zc/locale/test/soa.fr libexec/zonecheck/lib/nresolv/dns_name.rb
libexec/zc/locale/zc.en libexec/zonecheck/lib/nresolv/dns_resource.rb
libexec/zc/locale/zc.fr libexec/zonecheck/lib/nresolv/host.rb
libexec/zc/test/axfr.rb libexec/zonecheck/lib/nresolv/resolver.rb
libexec/zc/test/connectivity.rb libexec/zonecheck/lib/nresolv/transport.rb
libexec/zc/test/generic.rb libexec/zonecheck/lib/nresolv/wire.rb
libexec/zc/test/loopback.rb libexec/zonecheck/test/axfr.rb
libexec/zc/test/mail.rb libexec/zonecheck/test/connectivity.rb
libexec/zc/test/misc.rb libexec/zonecheck/test/generic.rb
libexec/zc/test/mx.rb libexec/zonecheck/test/interop.rb
libexec/zc/test/nameserver.rb libexec/zonecheck/test/loopback.rb
libexec/zc/test/ns.rb libexec/zonecheck/test/mail.rb
libexec/zc/test/rootserver.rb libexec/zonecheck/test/misc.rb
libexec/zc/test/soa.rb libexec/zonecheck/test/mx.rb
libexec/zc/zc/cache.rb libexec/zonecheck/test/nameserver.rb
libexec/zc/zc/cachemanager.rb libexec/zonecheck/test/ns.rb
libexec/zc/zc/config.rb libexec/zonecheck/test/rootserver.rb
libexec/zc/zc/config/lexer.rb libexec/zonecheck/test/soa.rb
libexec/zc/zc/config/parser.rb libexec/zonecheck/locale/inetd.en
libexec/zc/zc/config/pos.rb libexec/zonecheck/locale/cgi.en
libexec/zc/zc/config/token.rb libexec/zonecheck/locale/cgi.fr
libexec/zc/zc/console.rb libexec/zonecheck/locale/cli.en
libexec/zc/zc/data/logo.rb libexec/zonecheck/locale/cli.fr
libexec/zc/zc/data/xpm.rb libexec/zonecheck/locale/gtk.en
libexec/zc/zc/data/zonecheck.dtd libexec/zonecheck/locale/gtk.fr
libexec/zc/zc/dbg.rb libexec/zonecheck/locale/test/axfr.en
libexec/zc/zc/ext/array.rb libexec/zonecheck/locale/test/axfr.fr
libexec/zc/zc/ext/gtk.rb libexec/zonecheck/locale/test/connectivity.en
libexec/zc/zc/framework.rb libexec/zonecheck/locale/test/connectivity.fr
libexec/zc/zc/input/cgi.rb libexec/zonecheck/locale/test/generic.en
libexec/zc/zc/input/cli.rb libexec/zonecheck/locale/test/generic.fr
libexec/zc/zc/input/gtk.rb libexec/zonecheck/locale/test/interop.en
libexec/zc/zc/input/inetd.rb libexec/zonecheck/locale/test/interop.fr
libexec/zc/zc/instructions.rb libexec/zonecheck/locale/test/loopback.en
libexec/zc/zc/locale.rb libexec/zonecheck/locale/test/loopback.fr
libexec/zc/zc/mail.rb libexec/zonecheck/locale/test/mail.en
libexec/zc/zc/msgcat.rb libexec/zonecheck/locale/test/mail.fr
libexec/zc/zc/param.rb libexec/zonecheck/locale/test/misc.en
libexec/zc/zc/publisher.rb libexec/zonecheck/locale/test/misc.fr
libexec/zc/zc/publisher/gtk.rb libexec/zonecheck/locale/test/mx.en
libexec/zc/zc/publisher/html.rb libexec/zonecheck/locale/test/mx.fr
libexec/zc/zc/publisher/text.rb libexec/zonecheck/locale/test/nameserver.en
libexec/zc/zc/publisher/xml.rb libexec/zonecheck/locale/test/nameserver.fr
libexec/zc/zc/report.rb libexec/zonecheck/locale/test/ns.en
libexec/zc/zc/report/byhost.rb libexec/zonecheck/locale/test/ns.fr
libexec/zc/zc/report/byseverity.rb libexec/zonecheck/locale/test/rootserver.en
libexec/zc/zc/testmanager.rb libexec/zonecheck/locale/test/rootserver.fr
libexec/zc/zc/zc.rb libexec/zonecheck/locale/test/soa.en
share/doc/zc/BUGS libexec/zonecheck/locale/test/soa.fr
share/doc/zc/INSTALL libexec/zonecheck/locale/inetd.fr
share/doc/zc/README libexec/zonecheck/locale/zc.en
share/doc/zc/TODO libexec/zonecheck/locale/zc.fr
etc/zc.conf-dist etc/zonecheck-dist/zc.conf
etc/zc.conf.arpa-dist etc/zonecheck-dist/rootservers
etc/zc.conf.fr-dist etc/zonecheck-dist/de.rules
@dirrm share/doc/zc etc/zonecheck-dist/default.rules
@dirrm libexec/zc/zc/report etc/zonecheck-dist/fr.rules
@dirrm libexec/zc/zc/publisher etc/zonecheck-dist/reverse.rules
@dirrm libexec/zc/zc/input %%PORTDOCS%%%%DOCSDIR%%/BUGS
@dirrm libexec/zc/zc/ext %%PORTDOCS%%%%DOCSDIR%%/INSTALL
@dirrm libexec/zc/zc/data %%PORTDOCS%%%%DOCSDIR%%/README
@dirrm libexec/zc/zc/config %%PORTDOCS%%%%DOCSDIR%%/TODO
@dirrm libexec/zc/zc %%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm libexec/zc/test @dirrm libexec/zonecheck/zc/config
@dirrm libexec/zc/locale/test @dirrm libexec/zonecheck/zc/data
@dirrm libexec/zc/locale @dirrm libexec/zonecheck/zc/ext
@dirrm libexec/zc/lib/nresolv @dirrm libexec/zonecheck/zc/input
@dirrm libexec/zc/lib/address @dirrm libexec/zonecheck/zc/publisher
@dirrm libexec/zc/lib @dirrm libexec/zonecheck/zc/report
@dirrm libexec/zc @dirrm libexec/zonecheck/zc
@dirrm libexec/zonecheck/lib/address
@dirrm libexec/zonecheck/lib/nresolv
@dirrm libexec/zonecheck/lib
@dirrm libexec/zonecheck/test
@dirrm libexec/zonecheck/locale/test
@dirrm libexec/zonecheck/locale
@dirrm libexec/zonecheck
@dirrm etc/zonecheck-dist/