View | Details | Raw Unified | Return to bug 58921
Collapse All | Expand All

(-)zonecheck/Makefile (-10 / +14 lines)
Lines 6-35 Link Here
6
#
6
#
7
7
8
PORTNAME=	zonecheck
8
PORTNAME=	zonecheck
9
PORTVERSION=	2.0.0b7
9
PORTVERSION=	2.0.0b9
10
CATEGORIES=	dns ipv6 ruby
10
CATEGORIES=	dns ipv6 ruby
11
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
11
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
12
MASTER_SITE_SUBDIR=	${PORTNAME}/src
12
MASTER_SITE_SUBDIR=	${PORTNAME}/src
13
EXTRACT_SUFX=	.tgz
13
EXTRACT_SUFX=	.tgz
14
14
15
MAINTAINER=	janos.mohacsi@bsd.hu
15
MAINTAINER=	janos.mohacsi@bsd.hu
16
COMMENT=	Perform consistency checks on DNS zone files
16
COMMENT=	Perform consistency checks on DNS zones
17
17
18
RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk
18
.if defined(WITH_X11)
19
19
RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
20
BROKEN=		"Broken dependency; will be removed after Feb 2"
20
.endif
21
21
22
WRKSRC=		${WRKDIR}/${PORTNAME}
22
WRKSRC=		${WRKDIR}/${PORTNAME}
23
USE_GMAKE=	yes
23
USE_GMAKE=	yes
24
USE_RUBY=	yes
24
USE_RUBY=	yes
25
NO_BUILD=	yes
25
NO_BUILD=	yes
26
RUBY_VER=	1.8
26
RUBY_VER=	1.8
27
DOC_FILES=	BUGS INSTALL README TODO
28
USE_RUBY_FEATURES=	ruby18
27
MAN1=		zonecheck.1
29
MAN1=		zonecheck.1
28
30
29
.include <bsd.port.pre.mk>
31
post-install:
30
32
.ifndef(NOPORTDOCS)
31
.if ${RUBY_DEFAULT_VER} != ${RUBY_VER}
33
	@${MKDIR} ${DOCSDIR}
32
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.
34
.for file in ${DOC_FILES}
35
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
36
.endfor
33
.endif
37
.endif
34
38
35
.include <bsd.port.post.mk>
39
.include <bsd.port.mk>
(-)zonecheck/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (zonecheck-2.0.0b7.tgz) = bd31515da6e27206d8383948c375378c
1
MD5 (zonecheck-2.0.0b9.tgz) = fb3e21e94d155a3a949498d513a829ae
(-)zonecheck/files/patch-Makefile (-49 / +9 lines)
Lines 1-51 Link Here
1
--- Makefile.orig	Wed Aug 27 10:51:19 2003
1
--- Makefile.orig	Fri Oct 24 15:55:25 2003
2
+++ Makefile	Tue Sep  2 15:10:51 2003
2
+++ Makefile	Tue Nov  4 10:07:49 2003
3
@@ -37,7 +37,7 @@
3
@@ -9,7 +9,7 @@
4
 #
4
 # DATE        : $Date: 2003/10/24 13:55:25 $ 
5
 # 
6
 
7
-RUBY ?=ruby
8
+RUBY ?=ruby18
9
 ZC_INSTALLER=$(RUBY) ./installer.rb
5
 
10
 
6
 PREFIX    ?= /usr/local
7
-RUBY      ?= $(shell which ruby)
8
+RUBY      ?= $(shell which ruby18)
9
 HTML_PATH ?= /zc
10
 
11
 LIBEXEC=$(PREFIX)/libexec
12
@@ -84,7 +84,7 @@
13
 	@echo "Not automatized yet"
14
 
15
 
16
-install: install-common install-cli install-cgi install-doc
17
+install: install-common install-cli install-doc
18
 
19
 
20
 install-common:
21
@@ -115,12 +115,11 @@
22
 
23
 	@echo "==> Installing default configuration file"
24
 	$(INSTALL) -d $(ETCDIR)
25
-	$(INSTALL) -b -m 0644 etc/zc.conf $(ETCDIR)
26
-	$(INSTALL) -b -m 0644 etc/zc.conf.fr $(ETCDIR)
27
-	$(INSTALL) -b -m 0644 etc/zc.conf.arpa $(ETCDIR)
28
+	$(INSTALL) -b -m 0644 etc/zc.conf $(ETCDIR)/zc.conf-dist
29
+	$(INSTALL) -b -m 0644 etc/zc.conf.fr $(ETCDIR)/zc.conf.fr-dist
30
+	$(INSTALL) -b -m 0644 etc/zc.conf.arpa $(ETCDIR)/zc.conf.arpa-dist
31
 	@echo "*************************"
32
-	@echo "** If you already had a zc.conf file it has been renamed"
33
-	@echo "**   to zc.conf.old"
34
+	@echo "** zc.conf file installed as zc.conf-dist. "
35
 	@echo "** Don't forget to edit the zc.conf to reflect your system"
36
 	@echo "**   configuration"
37
 	@echo "*************************"
38
@@ -142,10 +141,10 @@
39
 install-cli:
40
 	@echo "==> Installing CLI"
41
 	$(INSTALL) -d $(BINDIR)
42
-	$(LN) -f $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zc
43
-	$(LN) -f $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zonecheck
44
+	#$(LN) -f $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zc
45
+	$(LN) -s $(LIBEXEC)/zc/zc/zc.rb $(BINDIR)/zonecheck
46
 	$(INSTALL) -d $(MANDIR)/man1
47
-	$(INSTALL) -m 0644 man/zonecheck.1 $(MANDIR)/man1/zc.1
48
+	#$(INSTALL) -m 0644 man/zonecheck.1 $(MANDIR)/man1/zc.1
49
 	$(INSTALL) -m 0644 man/zonecheck.1 $(MANDIR)/man1/zonecheck.1
50
 	@echo
51
 
11
 
(-)zonecheck/files/patch-installer.rb (+11 lines)
Line 0 Link Here
1
--- installer.rb.orig	Mon Oct 27 17:42:01 2003
2
+++ installer.rb	Tue Nov  4 13:06:14 2003
3
@@ -190,8 +190,6 @@
4
     def rule_all
5
 	inst_common ; patch_common 
6
 	inst_cli
7
-	inst_cgi    ; patch_cgi
8
-	inst_doc
9
     end
10
     def rule_cli
11
 	inst_common ; patch_common
(-)zonecheck/pkg-descr (-1 / +1 lines)
Lines 6-12 Link Here
6
    * Does not depend on policies
6
    * Does not depend on policies
7
    * Fine grained test selection (by test, by categories, by zones)
7
    * Fine grained test selection (by test, by categories, by zones)
8
    * Full IPv6 support (connectivity and AAAA records)
8
    * Full IPv6 support (connectivity and AAAA records)
9
    * Supports several input/output interfaces such as CLI, CGI, GUI
9
    * Supports several input/output interfaces such as CLI, GUI
10
    * Dedicated mode for use inside shell scripts
10
    * Dedicated mode for use inside shell scripts
11
    * Batch mode available (ideal when dealing with several domains)
11
    * Batch mode available (ideal when dealing with several domains)
12
    * Multi-threaded application in order to cut down checking time
12
    * Multi-threaded application in order to cut down checking time
(-)zonecheck/pkg-plist (-119 / +127 lines)
Lines 1-120 Link Here
1
bin/zonecheck
1
bin/zonecheck
2
libexec/zc/lib/address.rb
2
libexec/zonecheck/zc/config/lexer.rb
3
libexec/zc/lib/address/common.rb
3
libexec/zonecheck/zc/config/parser.rb
4
libexec/zc/lib/address/ipv4.rb
4
libexec/zonecheck/zc/config/pos.rb
5
libexec/zc/lib/address/ipv6.rb
5
libexec/zonecheck/zc/config/token.rb
6
libexec/zc/lib/nresolv.rb
6
libexec/zonecheck/zc/cache.rb
7
libexec/zc/lib/nresolv/compatibility.rb
7
libexec/zonecheck/zc/cachemanager.rb
8
libexec/zc/lib/nresolv/config.rb
8
libexec/zonecheck/zc/config.rb
9
libexec/zc/lib/nresolv/constants.rb
9
libexec/zonecheck/zc/console.rb
10
libexec/zc/lib/nresolv/dbg.rb
10
libexec/zonecheck/zc/dbg.rb
11
libexec/zc/lib/nresolv/dig_output.rb
11
libexec/zonecheck/zc/framework.rb
12
libexec/zc/lib/nresolv/dns.rb
12
libexec/zonecheck/zc/instructions.rb
13
libexec/zc/lib/nresolv/dns_message.rb
13
libexec/zonecheck/zc/locale.rb
14
libexec/zc/lib/nresolv/dns_name.rb
14
libexec/zonecheck/zc/mail.rb
15
libexec/zc/lib/nresolv/dns_resource.rb
15
libexec/zonecheck/zc/msgcat.rb
16
libexec/zc/lib/nresolv/host.rb
16
libexec/zonecheck/zc/param.rb
17
libexec/zc/lib/nresolv/resolver.rb
17
libexec/zonecheck/zc/publisher.rb
18
libexec/zc/lib/nresolv/transport.rb
18
libexec/zonecheck/zc/report.rb
19
libexec/zc/lib/nresolv/wire.rb
19
libexec/zonecheck/zc/testmanager.rb
20
libexec/zc/lib/textfmt.rb
20
libexec/zonecheck/zc/zc.rb
21
libexec/zc/lib/whois.rb
21
libexec/zonecheck/zc/zonecheck.rb
22
libexec/zc/locale/cgi.en
22
libexec/zonecheck/zc/data/logo.rb
23
libexec/zc/locale/cgi.fr
23
libexec/zonecheck/zc/data/xpm.rb
24
libexec/zc/locale/cli.en
24
libexec/zonecheck/zc/data/zonecheck.dtd
25
libexec/zc/locale/cli.fr
25
libexec/zonecheck/zc/ext/array.rb
26
libexec/zc/locale/gtk.en
26
libexec/zonecheck/zc/ext/gtk.rb
27
libexec/zc/locale/gtk.fr
27
libexec/zonecheck/zc/input/inetd.rb
28
libexec/zc/locale/inetd.en
28
libexec/zonecheck/zc/input/cgi.rb
29
libexec/zc/locale/inetd.fr
29
libexec/zonecheck/zc/input/cli.rb
30
libexec/zc/locale/test/axfr.en
30
libexec/zonecheck/zc/input/gtk.rb
31
libexec/zc/locale/test/axfr.fr
31
libexec/zonecheck/zc/publisher/html.rb
32
libexec/zc/locale/test/connectivity.en
32
libexec/zonecheck/zc/publisher/gtk.rb
33
libexec/zc/locale/test/connectivity.fr
33
libexec/zonecheck/zc/publisher/text.rb
34
libexec/zc/locale/test/generic.en
34
libexec/zonecheck/zc/publisher/xml.rb
35
libexec/zc/locale/test/generic.fr
35
libexec/zonecheck/zc/report/byhost.rb
36
libexec/zc/locale/test/loopback.en
36
libexec/zonecheck/zc/report/byseverity.rb
37
libexec/zc/locale/test/loopback.fr
37
libexec/zonecheck/lib/address/common.rb
38
libexec/zc/locale/test/mail.en
38
libexec/zonecheck/lib/address/ipv4.rb
39
libexec/zc/locale/test/mail.fr
39
libexec/zonecheck/lib/address/ipv6.rb
40
libexec/zc/locale/test/misc.en
40
libexec/zonecheck/lib/address.rb
41
libexec/zc/locale/test/misc.fr
41
libexec/zonecheck/lib/nresolv.rb
42
libexec/zc/locale/test/mx.en
42
libexec/zonecheck/lib/textfmt.rb
43
libexec/zc/locale/test/mx.fr
43
libexec/zonecheck/lib/whois.rb
44
libexec/zc/locale/test/nameserver.en
44
libexec/zonecheck/lib/nresolv/compatibility.rb
45
libexec/zc/locale/test/nameserver.fr
45
libexec/zonecheck/lib/nresolv/config.rb
46
libexec/zc/locale/test/ns.en
46
libexec/zonecheck/lib/nresolv/constants.rb
47
libexec/zc/locale/test/ns.fr
47
libexec/zonecheck/lib/nresolv/dbg.rb
48
libexec/zc/locale/test/rootserver.en
48
libexec/zonecheck/lib/nresolv/dig_output.rb
49
libexec/zc/locale/test/rootserver.fr
49
libexec/zonecheck/lib/nresolv/dns.rb
50
libexec/zc/locale/test/soa.en
50
libexec/zonecheck/lib/nresolv/dns_message.rb
51
libexec/zc/locale/test/soa.fr
51
libexec/zonecheck/lib/nresolv/dns_name.rb
52
libexec/zc/locale/zc.en
52
libexec/zonecheck/lib/nresolv/dns_resource.rb
53
libexec/zc/locale/zc.fr
53
libexec/zonecheck/lib/nresolv/host.rb
54
libexec/zc/test/axfr.rb
54
libexec/zonecheck/lib/nresolv/resolver.rb
55
libexec/zc/test/connectivity.rb
55
libexec/zonecheck/lib/nresolv/transport.rb
56
libexec/zc/test/generic.rb
56
libexec/zonecheck/lib/nresolv/wire.rb
57
libexec/zc/test/loopback.rb
57
libexec/zonecheck/test/axfr.rb
58
libexec/zc/test/mail.rb
58
libexec/zonecheck/test/connectivity.rb
59
libexec/zc/test/misc.rb
59
libexec/zonecheck/test/generic.rb
60
libexec/zc/test/mx.rb
60
libexec/zonecheck/test/interop.rb
61
libexec/zc/test/nameserver.rb
61
libexec/zonecheck/test/loopback.rb
62
libexec/zc/test/ns.rb
62
libexec/zonecheck/test/mail.rb
63
libexec/zc/test/rootserver.rb
63
libexec/zonecheck/test/misc.rb
64
libexec/zc/test/soa.rb
64
libexec/zonecheck/test/mx.rb
65
libexec/zc/zc/cache.rb
65
libexec/zonecheck/test/nameserver.rb
66
libexec/zc/zc/cachemanager.rb
66
libexec/zonecheck/test/ns.rb
67
libexec/zc/zc/config.rb
67
libexec/zonecheck/test/rootserver.rb
68
libexec/zc/zc/config/lexer.rb
68
libexec/zonecheck/test/soa.rb
69
libexec/zc/zc/config/parser.rb
69
libexec/zonecheck/locale/inetd.en
70
libexec/zc/zc/config/pos.rb
70
libexec/zonecheck/locale/cgi.en
71
libexec/zc/zc/config/token.rb
71
libexec/zonecheck/locale/cgi.fr
72
libexec/zc/zc/console.rb
72
libexec/zonecheck/locale/cli.en
73
libexec/zc/zc/data/logo.rb
73
libexec/zonecheck/locale/cli.fr
74
libexec/zc/zc/data/xpm.rb
74
libexec/zonecheck/locale/gtk.en
75
libexec/zc/zc/data/zonecheck.dtd
75
libexec/zonecheck/locale/gtk.fr
76
libexec/zc/zc/dbg.rb
76
libexec/zonecheck/locale/test/axfr.en
77
libexec/zc/zc/ext/array.rb
77
libexec/zonecheck/locale/test/axfr.fr
78
libexec/zc/zc/ext/gtk.rb
78
libexec/zonecheck/locale/test/connectivity.en
79
libexec/zc/zc/framework.rb
79
libexec/zonecheck/locale/test/connectivity.fr
80
libexec/zc/zc/input/cgi.rb
80
libexec/zonecheck/locale/test/generic.en
81
libexec/zc/zc/input/cli.rb
81
libexec/zonecheck/locale/test/generic.fr
82
libexec/zc/zc/input/gtk.rb
82
libexec/zonecheck/locale/test/interop.en
83
libexec/zc/zc/input/inetd.rb
83
libexec/zonecheck/locale/test/interop.fr
84
libexec/zc/zc/instructions.rb
84
libexec/zonecheck/locale/test/loopback.en
85
libexec/zc/zc/locale.rb
85
libexec/zonecheck/locale/test/loopback.fr
86
libexec/zc/zc/mail.rb
86
libexec/zonecheck/locale/test/mail.en
87
libexec/zc/zc/msgcat.rb
87
libexec/zonecheck/locale/test/mail.fr
88
libexec/zc/zc/param.rb
88
libexec/zonecheck/locale/test/misc.en
89
libexec/zc/zc/publisher.rb
89
libexec/zonecheck/locale/test/misc.fr
90
libexec/zc/zc/publisher/gtk.rb
90
libexec/zonecheck/locale/test/mx.en
91
libexec/zc/zc/publisher/html.rb
91
libexec/zonecheck/locale/test/mx.fr
92
libexec/zc/zc/publisher/text.rb
92
libexec/zonecheck/locale/test/nameserver.en
93
libexec/zc/zc/publisher/xml.rb
93
libexec/zonecheck/locale/test/nameserver.fr
94
libexec/zc/zc/report.rb
94
libexec/zonecheck/locale/test/ns.en
95
libexec/zc/zc/report/byhost.rb
95
libexec/zonecheck/locale/test/ns.fr
96
libexec/zc/zc/report/byseverity.rb
96
libexec/zonecheck/locale/test/rootserver.en
97
libexec/zc/zc/testmanager.rb
97
libexec/zonecheck/locale/test/rootserver.fr
98
libexec/zc/zc/zc.rb
98
libexec/zonecheck/locale/test/soa.en
99
share/doc/zc/BUGS
99
libexec/zonecheck/locale/test/soa.fr
100
share/doc/zc/INSTALL
100
libexec/zonecheck/locale/inetd.fr
101
share/doc/zc/README
101
libexec/zonecheck/locale/zc.en
102
share/doc/zc/TODO
102
libexec/zonecheck/locale/zc.fr
103
etc/zc.conf-dist
103
etc/zonecheck-dist/zc.conf
104
etc/zc.conf.arpa-dist
104
etc/zonecheck-dist/rootservers
105
etc/zc.conf.fr-dist
105
etc/zonecheck-dist/de.rules
106
@dirrm share/doc/zc
106
etc/zonecheck-dist/default.rules
107
@dirrm libexec/zc/zc/report
107
etc/zonecheck-dist/fr.rules
108
@dirrm libexec/zc/zc/publisher
108
etc/zonecheck-dist/reverse.rules
109
@dirrm libexec/zc/zc/input
109
%%PORTDOCS%%%%DOCSDIR%%/BUGS
110
@dirrm libexec/zc/zc/ext
110
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
111
@dirrm libexec/zc/zc/data
111
%%PORTDOCS%%%%DOCSDIR%%/README
112
@dirrm libexec/zc/zc/config
112
%%PORTDOCS%%%%DOCSDIR%%/TODO
113
@dirrm libexec/zc/zc
113
@dirrm libexec/zonecheck/zc/config
114
@dirrm libexec/zc/test
114
@dirrm libexec/zonecheck/zc/data
115
@dirrm libexec/zc/locale/test
115
@dirrm libexec/zonecheck/zc/ext
116
@dirrm libexec/zc/locale
116
@dirrm libexec/zonecheck/zc/input
117
@dirrm libexec/zc/lib/nresolv
117
@dirrm libexec/zonecheck/zc/publisher
118
@dirrm libexec/zc/lib/address
118
@dirrm libexec/zonecheck/zc/report
119
@dirrm libexec/zc/lib
119
@dirrm libexec/zonecheck/zc
120
@dirrm libexec/zc
120
@dirrm libexec/zonecheck/lib/address
121
@dirrm libexec/zonecheck/lib/nresolv
122
@dirrm libexec/zonecheck/lib
123
@dirrm libexec/zonecheck/test
124
@dirrm libexec/zonecheck/locale/test
125
@dirrm libexec/zonecheck/locale
126
@dirrm libexec/zonecheck
127
@dirrm etc/zonecheck-dist/
128
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 58921