aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2011-02-23 00:05:24 +0800
committerarved <arved@FreeBSD.org>2011-02-23 00:05:24 +0800
commitcb780312840ef87ded0be823ed32eecfc3535460 (patch)
tree219d2a93c684559c3929ad7403cd7d7bbfa4412e /net-mgmt
parentbc45b1f0f8c22db574acc4b298141bddf7b2bc44 (diff)
downloadfreebsd-ports-gnome-cb780312840ef87ded0be823ed32eecfc3535460.tar.gz
freebsd-ports-gnome-cb780312840ef87ded0be823ed32eecfc3535460.tar.zst
freebsd-ports-gnome-cb780312840ef87ded0be823ed32eecfc3535460.zip
Fix a bug when using svn instead of cvs
PR: 151347 Submitted by: "Maxim P. Kondakov" <maxx@satgate.ne> Approved by: maintainer timeout
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/rancid/Makefile1
-rw-r--r--net-mgmt/rancid/files/patch-bin-rancid.in13
2 files changed, 14 insertions, 0 deletions
diff --git a/net-mgmt/rancid/Makefile b/net-mgmt/rancid/Makefile
index ae04bd7f2ebc..1f7facac0182 100644
--- a/net-mgmt/rancid/Makefile
+++ b/net-mgmt/rancid/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rancid
PORTVERSION= 2.3.4
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/
diff --git a/net-mgmt/rancid/files/patch-bin-rancid.in b/net-mgmt/rancid/files/patch-bin-rancid.in
new file mode 100644
index 000000000000..41125bdec988
--- /dev/null
+++ b/net-mgmt/rancid/files/patch-bin-rancid.in
@@ -0,0 +1,13 @@
+--- control_rancid.old 2010-09-17 09:30:59.000000000 +0200
++++ bin/control_rancid.in 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