Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 22:26:54 +0400 (MSD)
From:      "Dmitry S. Sivachenko" <dima@Chg.RU>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21787: Update port: net/mrtg
Message-ID:  <200010061826.WAA92049@chg.ru>

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

>Number:         21787
>Category:       ports
>Synopsis:       Update port: net/mrtg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 06 11:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry S. Sivachenko
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

	

>Description:

	

>How-To-Repeat:

	

>Fix:
	
	

diff -Nur mrtg.old/Makefile mrtg/Makefile
--- mrtg.old/Makefile	Wed Jun  7 13:06:24 2000
+++ mrtg/Makefile	Fri Oct  6 22:14:02 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mrtg
-PORTVERSION=	2.8.12
+PORTVERSION=	2.9.0
 CATEGORIES=	net
 MASTER_SITES=	http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/
 
@@ -19,34 +19,35 @@
 
 GNU_CONFIGURE=	YES
 
-CONFIGURE_ARGS=	--with-gd-lib=${PREFIX}/lib \
-		--with-gd-inc=${PREFIX}/include/gd
+CONFIGURE_ARGS=	--with-gd-lib=${LOCALBASE}/lib \
+		--with-gd-inc=${LOCALBASE}/include/gd
 
 CONFIGURE_ENV=	PERL=${PERL}
 
+MAN1=		cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \
+		mibhelp.1 mrtg-rrd.1 nt-guide.1 reference.1 squid.1 \
+		unix-guide.1 webserver.1 whatis.1
+
 do-install:
 		${MKDIR} -m 755 ${PREFIX}/etc/mrtg
 		${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+		${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod
 		${MKDIR} -m 755 ${PREFIX}/share/mrtg
 .if !defined(NOPORTDOCS)
 		${MKDIR} -m 755 ${PREFIX}/share/doc/mrtg
-		for file in ANNOUNCE CHANGES COPYING COPYRIGHT MANIFEST README \
-			doc/config.html doc/config.pod doc/config.txt doc/htaccess.txt \
-			doc/logfile-format.txt doc/manual.html doc/manual.txt \
-			doc/mibhelp.txt doc/squid.txt UPGRADING ; do \
+		for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \
+			doc/*.html doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \
 			${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \
 		done
 .endif
-		${INSTALL_DATA} ${WRKSRC}/doc/sample-mrtg.cfg ${PREFIX}/etc/mrtg
-		for file in ${WRKSRC}/images/*; do \
-			${INSTALL_DATA} $$file ${PREFIX}/share/mrtg/; \
-		done
-		for file in SNMP_Session.pm SNMP_util.pm BER.pm locales_mrtg.pm; do \
-			${INSTALL_DATA} ${WRKSRC}/run/$$file ${PREFIX}/lib/perl5/site_perl/${PERL_VER}; \
-		done
-		${INSTALL_PROGRAM} ${WRKSRC}/run/rateup ${PREFIX}/bin/
-		for file in mrtg cfgmaker cfgmaker_ip cfgmaker_phys indexmaker; do \
-			${INSTALL_SCRIPT} ${WRKSRC}/run/$$file ${PREFIX}/bin/; \
+		${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample
+		${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/mrtg
+		${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
+		${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+		${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/Pod/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod
+		${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/bin/
+		for file in mrtg cfgmaker indexmaker; do \
+			${INSTALL_SCRIPT} ${WRKSRC}/bin/$$file ${PREFIX}/bin/; \
 		done
 
 post-install:
@@ -55,7 +56,7 @@
 	@${ECHO} "############################################################################"
 	@${ECHO} "# Please create a MRTG config file in ${PREFIX}/etc/mrtg                   #"
 	@${ECHO} "# A configuration file can be automatically generated with cfgmaker        #"
-	@${ECHO} "# A sample configuration file is installed as sample-mrtg.cfg              #"
+	@${ECHO} "# A sample configuration file is installed as mrtg.cfg.sample              #"
 	@${ECHO} "############################################################################"
 .endif
 
diff -Nur mrtg.old/files/md5 mrtg/files/md5
--- mrtg.old/files/md5	Sun Feb 13 00:45:53 2000
+++ mrtg/files/md5	Fri Oct  6 11:33:59 2000
@@ -1 +1 @@
-MD5 (mrtg-2.8.12.tar.gz) = 1279ae12c85c458cb5b3111fe5e01341
+MD5 (mrtg-2.9.0.tar.gz) = 16288f88744e288a6a32a650357082fa
diff -Nur mrtg.old/pkg/PLIST mrtg/pkg/PLIST
--- mrtg.old/pkg/PLIST	Sun Feb 13 00:45:54 2000
+++ mrtg/pkg/PLIST	Fri Oct  6 22:15:39 2000
@@ -1,14 +1,18 @@
 bin/cfgmaker
-bin/cfgmaker_ip
-bin/cfgmaker_phys
 bin/indexmaker
 bin/mrtg
 bin/rateup
-etc/mrtg/sample-mrtg.cfg
+etc/mrtg/mrtg.cfg.sample
 lib/perl5/site_perl/%%PERL_VER%%/BER.pm
 lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
 lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
+lib/perl5/site_perl/%%PERL_VER%%/MRTG_lib.pm
 lib/perl5/site_perl/%%PERL_VER%%/locales_mrtg.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pod/InputObjects.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pod/Parser.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pod/PlainText.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pod/Select.pm
+lib/perl5/site_perl/%%PERL_VER%%/Pod/Usage.pm
 share/mrtg/mrtg-l.gif
 share/mrtg/mrtg-m.gif
 share/mrtg/mrtg-r.gif
@@ -19,20 +23,59 @@
 share/mrtg/mrtg-ti.png
 share/doc/mrtg/ANNOUNCE
 share/doc/mrtg/CHANGES
-share/doc/mrtg/COPYING
 share/doc/mrtg/COPYRIGHT
 share/doc/mrtg/MANIFEST
 share/doc/mrtg/README
-share/doc/mrtg/UPGRADING
-share/doc/mrtg/config.html
-share/doc/mrtg/config.pod
-share/doc/mrtg/config.txt
-share/doc/mrtg/htaccess.txt
-share/doc/mrtg/logfile-format.txt
-share/doc/mrtg/manual.html
-share/doc/mrtg/manual.txt
+share/doc/mrtg/cfgmaker.html
+share/doc/mrtg/contrib.html
+share/doc/mrtg/faq.html
+share/doc/mrtg/forum.html
+share/doc/mrtg/index.html
+share/doc/mrtg/indexmaker.html
+share/doc/mrtg/logfile.html
+share/doc/mrtg/mibhelp.html
+share/doc/mrtg/mrtg-rrd.html
+share/doc/mrtg/nt-guide.html
+share/doc/mrtg/reference.html
+share/doc/mrtg/squid.html
+share/doc/mrtg/unix-guide.html
+share/doc/mrtg/webserver.html
+share/doc/mrtg/whatis.html
+share/doc/mrtg/cfgmaker.pod
+share/doc/mrtg/contrib.pod
+share/doc/mrtg/faq.pod
+share/doc/mrtg/forum.pod
+share/doc/mrtg/indexmaker.pod
+share/doc/mrtg/logfile.pod
+share/doc/mrtg/mibhelp.pod
+share/doc/mrtg/mrtg-rrd.pod
+share/doc/mrtg/nt-guide.pod
+share/doc/mrtg/reference.pod
+share/doc/mrtg/squid.pod
+share/doc/mrtg/unix-guide.pod
+share/doc/mrtg/webserver.pod
+share/doc/mrtg/whatis.pod
+share/doc/mrtg/cfgmaker.txt
+share/doc/mrtg/contrib.txt
+share/doc/mrtg/faq.txt
+share/doc/mrtg/forum.txt
+share/doc/mrtg/index.txt
+share/doc/mrtg/indexmaker.txt
+share/doc/mrtg/logfile.txt
 share/doc/mrtg/mibhelp.txt
+share/doc/mrtg/mrtg-rrd.txt
+share/doc/mrtg/nt-guide.txt
+share/doc/mrtg/reference.txt
 share/doc/mrtg/squid.txt
+share/doc/mrtg/unix-guide.txt
+share/doc/mrtg/webserver.txt
+share/doc/mrtg/whatis.txt
+share/doc/mrtg/index.wml
+share/doc/mrtg/mrtg-l.png
+share/doc/mrtg/mrtg-m.png
+share/doc/mrtg/mrtg-r.png
+share/doc/mrtg/mrtg-ti.png
 @dirrm etc/mrtg
 @dirrm share/doc/mrtg
 @dirrm share/mrtg
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Pod

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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