Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  7 Sep 2002 19:12:42 +0200 (CEST)
From:      Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42511: Update port: net/pancho to 6.0.0
Message-ID:  <20020907171242.84F575535@silver.hsc.fr>

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

>Number:         42511
>Category:       ports
>Synopsis:       Update port: net/pancho to 6.0.0
>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:   Sat Sep 07 10:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Jombart
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD silver.hsc.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Fri Aug 16 16:29:38 CEST 2002 ecu@silver.hsc.fr:/usr/obj/usr/src/sys/SILVER i386


	
>Description:

	Update net/pancho to 6.0.0
	(in this version, no docs anymore included in the distribution,
	 use of a configuration file).

	Committer: 
	deleted files :
		files/patch-aa
		files/patch-ab
		files/
	added files :
		pkg-message

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/net/pancho/Makefile pancho/Makefile
--- /usr/ports/net/pancho/Makefile	Wed Sep  4 09:17:21 2002
+++ pancho/Makefile	Sat Sep  7 18:56:45 2002
@@ -6,43 +6,31 @@
 #
 
 PORTNAME=	pancho
-PORTVERSION=	5.4
+PORTVERSION=	6.0.0
 CATEGORIES=	net
-MASTER_SITES=	ftp://pancho.lunarmedia.net/pancho/ \
-		http://pancho.lunarmedia.net/
+MASTER_SITES=	http://www.panchoproject.org/archives/pancho/
 DISTNAME=	pancho-v${PORTVERSION}
 
 MAINTAINER=	Nicolas.Jombart@hsc-labs.com
 
-RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP
+RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP \
+		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles
 
 USE_PERL5=	YES
 NO_BUILD=	YES
 
-pre-everything::
-.if !defined(WITH_PANCHO_LOGGING)
-	@${ECHO_MSG} "Type \"make WITH_PANCHO_LOGGING=yes\" if you want to enable logging."
-	@${ECHO_MSG} "Read LOGGING to know how to customize logging."
-.endif
-
 pre-patch:
 	@${MV} ${WRKSRC}/pancho ${WRKSRC}/pancho.old
 	@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
 		< ${WRKSRC}/pancho.old > ${WRKSRC}/pancho
-.if defined(WITH_PANCHO_LOGGING)
+	@${RM} ${WRKSRC}/pancho.old
 	@${MV} ${WRKSRC}/pancho ${WRKSRC}/pancho.old
-	@${SED} -e '35,1s:logging = "":logging = "1":' \
+	@${SED} -e '28,1s:pancho.conf:${PREFIX}/etc/pancho.conf:' \
 		< ${WRKSRC}/pancho.old > ${WRKSRC}/pancho
-.endif
 	@${RM} ${WRKSRC}/pancho.old
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/pancho ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/pancho
-.for i in README LOGGING CREDITS COPYRIGHT
-	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/pancho
-.endfor
-.endif
+	@${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${PREFIX}/etc/pancho.conf.sample
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/net/pancho/distinfo pancho/distinfo
--- /usr/ports/net/pancho/distinfo	Wed Sep  4 09:17:21 2002
+++ pancho/distinfo	Sat Sep  7 18:22:13 2002
@@ -1 +1 @@
-MD5 (pancho-v5.4.tar.gz) = cacb74bb27fe9579caee7b9bbd804afd
+MD5 (pancho-v6.0.0.tar.gz) = d4f1e1fbb2d62ae74a735e7609570598
diff -ruN /usr/ports/net/pancho/files/patch-aa pancho/files/patch-aa
--- /usr/ports/net/pancho/files/patch-aa	Mon Aug  5 13:45:38 2002
+++ pancho/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,14 +0,0 @@
---- pancho.orig	Tue Jun 25 05:30:00 2002
-+++ pancho	Tue Jul  2 14:30:30 2002
-@@ -38,9 +38,9 @@
- ############ BE SURE TO READ THROUGH THE LOGGING HOWTO ############
- ############ WHICH ACCOMPANIES THIS DISTRIBUTION.      ############
- 
--my $logging     = "";           # set this to "1" to enable logging
-+my $logging     = "1";           # set this to "1" to enable logging
- 
--my $logfile 	= "";		# full path to your logfile 
-+my $logfile 	= $ENV{HOME}."/pancho.log"; # full path to your logfile 
- 
- ############ USE THE FOLLOWING OPTIONS TO TWEAK YOUR   ############
- ############ SNMP SESSION PARAMETERS.                  ############
diff -ruN /usr/ports/net/pancho/files/patch-ab pancho/files/patch-ab
--- /usr/ports/net/pancho/files/patch-ab	Mon Nov  5 15:58:39 2001
+++ pancho/files/patch-ab	Thu Jan  1 01:00:00 1970
@@ -1,10 +0,0 @@
---- LOGGING.orig	Sat Nov  3 16:26:20 2001
-+++ LOGGING	Sat Nov  3 17:31:18 2001
-@@ -69,3 +69,7 @@
- 
-     % touch /var/log/pancho
-     % chmod 600 /var/log/pancho
-+
-+Note: The FreeBSD port compiled with -DWITH_PANCHO_LOGGING enables
-+logging into ~/pancho.log so the setuid bit isn't set.
-+
diff -ruN /usr/ports/net/pancho/pkg-descr pancho/pkg-descr
--- /usr/ports/net/pancho/pkg-descr	Mon Nov  5 15:58:38 2001
+++ pancho/pkg-descr	Sat Sep  7 18:51:55 2002
@@ -1,5 +1,5 @@
 Pancho was written with the goal of allowing network
-admnistrators make a change to a group of Cisco routers
+administrators make a change to a group of Cisco routers
 without being required to log into each host. 
 
 Pancho also provides the flexibility to allow admins to
@@ -9,6 +9,9 @@
 of archiving router configurations manually or through
 automated runs.
 
-WWW: http://pancho.lunarmedia.net/
+Support is provided for Cisco, Foundry or Nortel/Alteon
+devices.
+
+WWW: http://www.panchoproject.org/
 
 --Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
diff -ruN /usr/ports/net/pancho/pkg-message pancho/pkg-message
--- /usr/ports/net/pancho/pkg-message	Thu Jan  1 01:00:00 1970
+++ pancho/pkg-message	Sat Sep  7 18:50:25 2002
@@ -0,0 +1,5 @@
+Documentation is not included with Pancho distribution
+Please read it at http://www.panchoproject.org/
+
+You also need to customize PREFIX/etc/pancho.conf
+A sample configuration file is installed as pancho.conf.sample.
diff -ruN /usr/ports/net/pancho/pkg-plist pancho/pkg-plist
--- /usr/ports/net/pancho/pkg-plist	Wed Sep  4 09:17:21 2002
+++ pancho/pkg-plist	Sat Sep  7 18:39:08 2002
@@ -1,6 +1,2 @@
 bin/pancho
-%%PORTDOCS%%share/doc/pancho/README
-%%PORTDOCS%%share/doc/pancho/LOGGING
-%%PORTDOCS%%share/doc/pancho/CREDITS
-%%PORTDOCS%%share/doc/pancho/COPYRIGHT
-%%PORTDOCS%%@dirrm share/doc/pancho
+etc/pancho.conf.sample

>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?20020907171242.84F575535>