ports/151347: port net-mgmt/rancid doesn't work corretly with SVN

Maxim P. Kondakov maxx at satgate.ne
Sat Oct 9 18:10:10 UTC 2010


>Number:         151347
>Category:       ports
>Synopsis:       port net-mgmt/rancid doesn't work corretly with SVN
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 09 18:10:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Maxim P. Kondakov
>Release:        FreeBSD 8.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD 77.94.42.156 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #1: Sun Oct 3 21:39:29 EEST 2010 root at 77.94.42.156:/usr/obj/usr/src/sys/MAXX8 i386


	rancid 2.3.4 with SVN version 1.6.12 (r955767) compiled from ports
>Description:
There is an error in rancid when using svn instead of cvs. While running 
rancid-run i've get "Out of date error":
-----------------------------------------------------
Trying to get all of the configs. 
All routers sucessfully completed. 

svn: Commit failed (details follow): 
svn: Out of date: '/border' in transaction '10-1' 
Sending .
-----------------------------------------------------
>How-To-Repeat:
Run rancid-run
>Fix:

Fix was submitted at http://www.gossamer-threads.com/lists/rancid/users/5220

full patch below:

--- control_rancid.old  2010-09-17 09:30:59.000000000 +0200
+++ control_rancid      2010-09-17 09:33:03.000000000 +0200
@@ -345,6 +345,10 @@
 done
 cd $DIR

+if [ $RCSSYS = svn ] ; then
+    $RCSSYS update >/dev/null 2>&1
+fi
+
 # no routers, empty list or all 'down'
 if [ ! -s routers.up ]
 then	


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



More information about the freebsd-ports-bugs mailing list