From babydr at baby-dragons.com Fri May 1 17:37:05 2009 From: babydr at baby-dragons.com (Mr. James W. Laferriere) Date: Fri, 1 May 2009 09:37:05 -0800 (AKDT) Subject: [rancid] Re: RANCID 2.3.2 , Patch against hlogin.in . In-Reply-To: <20090428181156.GH13146@shrubbery.net> References: <20090428181156.GH13146@shrubbery.net> Message-ID: Hello John & All , I still require this patch in order to have the 'paging' turned off correctly on all my hp equipment . This Patch has been working these devices for ~ 8 months now . This includes a9 a7 versions of rancid . Routers: 4 ProCurve Secure Router 7102dl SROS Version: J06.06 Switches: 1 HP J4813A ProCurve Switch 2524 Firmware revision F.05.34 6 HP J4813A ProCurve Switch 2524 Software revision F.05.59 2 ProCurve J4903A Switch 2824 Software revision I.10.32 3 ProCurve J4899B Switch 2650 Software revision H.10.31 Hth , JimL -- +------------------------------------------------------------------+ | James W. Laferriere | System Techniques | Give me VMS | | Network&System Engineer | 2133 McCullam Ave | Give me Linux | | babydr at baby-dragons.com | Fairbanks, AK. 99701 | only on AXP | +------------------------------------------------------------------+ -------------- next part -------------- --- /home/archive/rancid-2.3.2/bin/hlogin.in.orig 2009-05-01 08:27:03.000000000 -0800 +++ /home/archive/rancid-2.3.2/bin/hlogin.in 2009-05-01 08:31:12.000000000 -0800 @@ -501,6 +501,7 @@ # Turn off the pager and escape regex meta characters in the $prompt send "no page\r" + send "terminal length 0\r" regsub -all {[)(]} $prompt {\\&} reprompt regsub -all {^(.{1,11}).*([#>])$} $reprompt {\1([^#>\r\n]+)?[#>](\\([^)\\r\\n]+\\))?} reprompt expect { @@ -739,6 +740,7 @@ } elseif { $do_script } { # disable the pager send "no page\r" + send "terminal length 0\r" expect -re $prompt {} source $sfile catch {close}; From nicolas-ml at deffayet.com Mon May 18 08:33:38 2009 From: nicolas-ml at deffayet.com (Nicolas DEFFAYET) Date: Mon, 18 May 2009 10:33:38 +0200 Subject: [rancid] Re: RANCID 2.3.2 , Patch for SVN bug In-Reply-To: References: <20090428181156.GH13146@shrubbery.net> Message-ID: <1242635618.31176.2.camel@nd-wks> Hello All, SVN bug discuss in http://www.shrubbery.net/pipermail/rancid-discuss/2006-August/001679.html and http://www.shrubbery.net/pipermail/rancid-discuss/2008-February/002822.html is still not fixed in 2.3.2. Can you please include the following patch for fix "svn: Directory '' is out of date" ? # vi bin/control_rancid.in --- --- rancid-2.3.2a9.org/bin/control_rancid.in 2008-04-24 21:07:05.000000000 +0200 +++ rancid-2.3.2a9/bin/control_rancid.in 2009-03-04 10:58:13.000000000 +0100 @@ -168,6 +168,12 @@ fi fi +# svn update to avoid 'Out of date' error +if [ $RCSSYS = svn ] +then + svn update +fi + # do cvs update of router.db in case anyone has fiddled. $RCSSYS update router.db > $TMP 2>&1 grep "^C" $TMP > /dev/null --- # vi bin/rancid-cvs.in --- --- rancid-2.3.2a9.org/bin/rancid-cvs.in 2008-05-23 21:39:25.000000000 +0200 +++ rancid-2.3.2a9/bin/rancid-cvs.in 2009-03-04 10:58:58.000000000 +0100 @@ -131,6 +131,8 @@ svn import -m "$GROUP" . file:///$CVSROOT/$GROUP cd $BASEDIR svn checkout file:///$CVSROOT/$GROUP $GROUP + cd $DIR + svn update fi fi cd $DIR --- Thank you Best Regards, -- Nicolas DEFFAYET