From root@cultdeadsheep.org  Sat Feb 22 09:41:38 2003
Return-Path: <root@cultdeadsheep.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 245D837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 Feb 2003 09:41:38 -0800 (PST)
Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 898FA43FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 Feb 2003 09:41:36 -0800 (PST)
	(envelope-from root@cultdeadsheep.org)
Received: (qmail 4842 invoked by uid 0); 22 Feb 2003 17:41:35 -0000
Message-Id: <20030222174135.4841.qmail@cultdeadsheep.org>
Date: 22 Feb 2003 17:41:35 -0000
From: Clement Laforet <sheepkiller@cultdeadsheep.org>
Reply-To: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject: [new port] net/zonemaster : a tool for zone file and name server management
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48564
>Category:       ports
>Synopsis:       [new port] net/zonemaster : a tool for zone file and name server management
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 22 09:50:09 PST 2003
>Closed-Date:    Thu Jul 24 13:33:24 PDT 2003
>Last-Modified:  Thu Jul 24 13:33:24 PDT 2003
>Originator:     Clement Laforet
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
cotds.org
>Environment:
System: FreeBSD goofy.cultdeadsheep.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 4 10:05:12 CEST 2002 root@goofy.cultdeadsheep.org:/usr/obj/usr/src/sys/GOOFY i386


	
>Description:
ZoneMaster is a tool for zone file and name server management. It is designed
for large name servers and makes configuration much easier.
The ZoneMaster project consists of a library that can configure BIND and a
webfrontend that is used to access the data that is stored in a MySQL database.

!! WARNING !!
This port need : p5-DNS-Config (PR: ports/48562 ) and p5-DNS-Zone (PR:ports/48563 )

>How-To-Repeat:
	N/A.
>Fix:

	

--- zonemaster.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	zonemaster
#	zonemaster/files
#	zonemaster/files/patch-Makefile.PL
#	zonemaster/Makefile
#	zonemaster/distinfo
#	zonemaster/pkg-plist
#	zonemaster/pkg-descr
#
echo c - zonemaster
mkdir -p zonemaster > /dev/null 2>&1
echo c - zonemaster/files
mkdir -p zonemaster/files > /dev/null 2>&1
echo x - zonemaster/files/patch-Makefile.PL
sed 's/^X//' >zonemaster/files/patch-Makefile.PL << 'END-of-zonemaster/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Sat Feb 22 00:07:37 2003
X+++ Makefile.PL	Sat Feb 22 17:17:47 2003
X@@ -35,29 +35,29 @@
X die "Exiting due to existing makefile..." if check_makefile_exists();
X 
X my $BUILD_DIR    = `pwd`; chomp $BUILD_DIR;
X-my $INSTALL_DIR  = prompt("\nWhere do you want to install the files ?" => "/usr/local/$NAME");
X+my $INSTALL_DIR = '%%PREFIX%%';
X 
X #--- Defining new installation categories ---#
X my %categories = (
X 	'docs' => {
X 		'_SOURCE' => 'docs',
X 		'INST_'   => 'blib/docs',
X-		'INSTALL' => '$(PREFIX)/docs'
X+		'INSTALL' => '$(PREFIX)/share/zonemaster/docs'
X 	},
X 	'etc' => {
X 		'_SOURCE' => 'etc',
X 		'INST_'   => 'blib/etc',
X-		'INSTALL' => '$(PREFIX)/etc'
X+		'INSTALL' => '%%ZM_WWW_ROOT%%/etc'
X 	},
X 	'cgi-bin' => {
X 		'_SOURCE' => 'cgi-bin',
X 		'INST_'   => 'blib/cgi-bin',
X-		'INSTALL' => '$(PREFIX)/cgi-bin'
X+		'INSTALL' => '%%ZM_WWW_ROOT%%/cgi-bin'
X 	},
X 	'htdocs' => {
X 		'_SOURCE' => 'htdocs',
X 		'INST_'   => 'blib/htdocs',
X-		'INSTALL' => '$(PREFIX)/htdocs'
X+		'INSTALL' => '%%ZM_WWW_ROOT%%/htdocs'
X 	},
X );
X 
END-of-zonemaster/files/patch-Makefile.PL
echo x - zonemaster/Makefile
sed 's/^X//' >zonemaster/Makefile << 'END-of-zonemaster/Makefile'
X# New ports collection Makefile for:		zonemaster
X# Date created:					22 February 2003
X# Whom:						Clement Laforet <sheepkiller@cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zonemaster
XPORTVERSION=	0.99.1
XPORTREVISION=	0
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	ZoneMaster-${PORTVERSION}
X
XMAINTAINER=	sheepkiller@cultdeadsheep.org
XCOMMENT=	ZoneMaster is a tool for zone file and name server management
X
XBUILD_DEPENDS+=${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
X		${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
X		${SITE_PERL}/${PERL_ARCH}/XML/Sablotron.pm:${PORTSDIR}/textproc/p5-XML-Sablotron \
X		${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
X		${SITE_PERL}/Term/ProgressBar.pm:${PORTSDIR}/devel/p5-Term-ProgressBar \
X		${SITE_PERL}/CGI/Cookie.pm:${PORTSDIR}/www/p5-CGI.pm \
X		${SITE_PERL}/DNS/Zone.pm:${PORTSDIR}/net/p5-DNS-Zone \
X		${SITE_PERL}/DNS/Config.pm:${PORTSDIR}/net/p5-DNS-Config
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_PERL5=	yes
X#PERL=		%{LOCALBASE}/bin/perl
XPERL_CONFIGURE=	yes
XUSE_REINPLACE=	yes
XINSTALLS_SHLIB=	yes
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XBROKEN=	ZoneMaster only supports the ports versions of Perl.
XBROKEN+=If you have installed a Perl port, and are getting this message,
XBROKEN+=please make sure you have given the command \'use.perl port\'.
X.endif # ${PERL_LEVEL} < 500601
X
X# Your ZoneMaster WWW root
XZM_WWW_ROOT?=	${PREFIX}/www/${PORTNAME}
X
Xpost-install:
X	@${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/ZoneMaster.sql ${DATADIR}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's!%%ZM_WWW_ROOT%%!${ZM_WWW_ROOT}!g' ${WRKSRC}/Makefile.PL
X	@${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!g' ${WRKSRC}/Makefile.PL
X
X.include <bsd.port.post.mk>
END-of-zonemaster/Makefile
echo x - zonemaster/distinfo
sed 's/^X//' >zonemaster/distinfo << 'END-of-zonemaster/distinfo'
XMD5 (ZoneMaster-0.99.1.tar.gz) = 0c4ee3e677a9759296d09b9a150cf009
END-of-zonemaster/distinfo
echo x - zonemaster/pkg-plist
sed 's/^X//' >zonemaster/pkg-plist << 'END-of-zonemaster/pkg-plist'
Xbin/jobhandler.pl
Xbin/bootstrap.pl
Xbin/testdata.pl
Xbin/extractdata.pl
Xlib/ZoneMaster/CGI.pm
Xlib/ZoneMaster/Database.pm
Xlib/ZoneMaster/Session.pm
Xlib/ZoneMaster/View.pm
Xlib/ZoneMaster/Action.pm
Xlib/ZoneMaster/Job.pm
Xlib/ZoneMaster/Action/CreateLabel.pm
Xlib/ZoneMaster/Action/DeleteLabel.pm
Xlib/ZoneMaster/Action/CreateRecord.pm
Xlib/ZoneMaster/Action/DeleteRecord.pm
Xlib/ZoneMaster/Action/CreateZone.pm
Xlib/ZoneMaster/Action/UpdateRecord.pm
Xlib/ZoneMaster/Action/CreateZoneServer.pm
Xlib/ZoneMaster/Action/DeleteZoneServer.pm
Xlib/ZoneMaster/Action/DeleteZone.pm
Xlib/ZoneMaster/View/JobList.pm
Xlib/ZoneMaster/View/About.pm
Xlib/ZoneMaster/View/ZoneList.pm
Xlib/ZoneMaster/View/Label.pm
Xlib/ZoneMaster/View/Zone.pm
Xlib/ZoneMaster/Database/ZoneAdaptor.pm
Xlib/ZoneMaster/Database/Adaptor.pm
Xlib/ZoneMaster/Database/Connection.pm
Xlib/ZoneMaster/Database/LabelAdaptor.pm
Xlib/ZoneMaster/Database/ServerAdaptor.pm
Xlib/ZoneMaster/Database/RecordAdaptor.pm
Xlib/ZoneMaster/Database/JobAdaptor.pm
Xshare/zonemaster/docs/Architecture.txt
Xshare/zonemaster/docs/Authentication.txt
Xshare/zonemaster/docs/Interface.txt
Xshare/zonemaster/ZoneMaster.sql
Xwww/zonemaster/cgi-bin/.htaccess
Xwww/zonemaster/cgi-bin/zonemaster.cgi
Xwww/zonemaster/etc/passwd
Xwww/zonemaster/htdocs/about.html
Xwww/zonemaster/htdocs/help.html
Xwww/zonemaster/htdocs/stylesheets/Footer.xsl
Xwww/zonemaster/htdocs/stylesheets/Header.xsl
Xwww/zonemaster/htdocs/stylesheets/Index.xsl
Xwww/zonemaster/htdocs/stylesheets/JobListView.xsl
Xwww/zonemaster/htdocs/stylesheets/LabelView.xsl
Xwww/zonemaster/htdocs/stylesheets/Navi.xsl
Xwww/zonemaster/htdocs/stylesheets/ZoneListView.xsl
Xwww/zonemaster/htdocs/stylesheets/ZoneView.xsl
Xwww/zonemaster/htdocs/pics/Button_fast_left.gif
Xwww/zonemaster/htdocs/pics/Button_fast_right.gif
Xwww/zonemaster/htdocs/pics/Button_full_left.gif
Xwww/zonemaster/htdocs/pics/Button_full_right.gif
Xwww/zonemaster/htdocs/pics/Button_left.gif
Xwww/zonemaster/htdocs/pics/Button_right.gif
Xwww/zonemaster/htdocs/examples/AboutView.xml
Xwww/zonemaster/htdocs/examples/JobListView.xml
Xwww/zonemaster/htdocs/examples/ZoneListView.xml
Xwww/zonemaster/htdocs/datatypes/AboutView.dtd
Xwww/zonemaster/htdocs/datatypes/JobListView.dtd
Xwww/zonemaster/htdocs/datatypes/LabelView.dtd
Xwww/zonemaster/htdocs/datatypes/Options.dtd
Xwww/zonemaster/htdocs/datatypes/Zone.dtd
Xwww/zonemaster/htdocs/datatypes/ZoneListView.dtd
Xwww/zonemaster/htdocs/datatypes/ZoneView.dtd
X@dirrm lib/ZoneMaster/Action
X@dirrm lib/ZoneMaster/View
X@dirrm lib/ZoneMaster/Database
X@dirrm lib/ZoneMaster
X@dirrm share/zonemaster/docs
X@dirrm share/zonemaster
X@dirrm www/zonemaster/cgi-bin
X@dirrm www/zonemaster/etc
X@dirrm www/zonemaster/htdocs/stylesheets
X@dirrm www/zonemaster/htdocs/pics
X@dirrm www/zonemaster/htdocs/examples
X@dirrm www/zonemaster/htdocs/datatypes
X@dirrm www/zonemaster/htdocs
X@dirrm www/zonemaster
END-of-zonemaster/pkg-plist
echo x - zonemaster/pkg-descr
sed 's/^X//' >zonemaster/pkg-descr << 'END-of-zonemaster/pkg-descr'
XZoneMaster is a tool for zone file and name server management. It is designed
Xfor large name servers and makes configuration much easier.
XThe ZoneMaster project consists of a library that can configure BIND and a
Xwebfrontend that is used to access the data that is stored in a MySQL database.
X
XWWW: http://www.zonemaster.org
END-of-zonemaster/pkg-descr
exit
--- zonemaster.shar ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: oliver 
State-Changed-When: Wed Jul 23 23:18:02 PDT 2003 
State-Changed-Why:  
The port is not PREFIX-clean. Try to do a "make PREFIX=/somewhere install" 
and a deinstall and see... Please fix that, and maybe do an upgrade to 
0.9.2 as well. Then submitt a new shar archive as a reply to these PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48564 

From: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: oliver@FreeBSD.org
Subject: Re: ports/48564: [new port] net/zonemaster : a tool for zone file
 and name server management
Date: Thu, 24 Jul 2003 17:29:00 +0200

 > The port is not PREFIX-clean. Try to do a "make PREFIX=/somewhere
 > install" and a deinstall and see... Please fix that, and maybe do an
 > upgrade to 0.9.2 as well. Then submitt a new shar archive as a reply
 > to these PR.
 
 Hi Oliver,
 
 Firt of all, thanks for your work.
 I fixed this few weeks ago, but I didn't submit the patch since I don't
 use zonemaster anymore, because of some nasty problems with
 Apache::Session and the difficulty to make smart upgrades.
 If you wish, I can send a new shar. Leaving zonemaster to ports@, but
 there are too many ophaned ports ;)
 
 regards,
 
 clem
State-Changed-From-To: feedback->closed 
State-Changed-By: oliver 
State-Changed-When: Thu Jul 24 13:32:08 PDT 2003 
State-Changed-Why:  
Doesn't work on current (sth. broken with locking) 
Originator doesn't use it any longer 
Originator gave his "Ok" to close it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48564 
>Unformatted:
