From a9491e349e6f26d658809cbb10fb0d09db5e9cf4 Mon Sep 17 00:00:00 2001 From: miwi Date: Mon, 26 Feb 2007 22:49:34 +0000 Subject: - Bump PORTREVISION - When RootJail is set to 'none' there is some errors on starting rc_subr script and cvsd doesn't start. This patch solved the Problem. PR: 109546 Submitted by: Alexander Logvinov Approved by: maintainer --- devel/cvsd/Makefile | 1 + devel/cvsd/files/cvsd.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'devel/cvsd') diff --git a/devel/cvsd/Makefile b/devel/cvsd/Makefile index cfc55cd20a72..409e1dd821f6 100644 --- a/devel/cvsd/Makefile +++ b/devel/cvsd/Makefile @@ -8,6 +8,7 @@ PORTNAME= cvsd PORTVERSION= 1.0.13 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://ch.tudelft.nl/~arthur/cvsd/ diff --git a/devel/cvsd/files/cvsd.in b/devel/cvsd/files/cvsd.in index d2823dd70ae3..addffe43661c 100644 --- a/devel/cvsd/files/cvsd.in +++ b/devel/cvsd/files/cvsd.in @@ -35,7 +35,7 @@ cvsd_config() cvsd_prestart() { cvsd_config - if [ $osreldate -gt 500000 ]; then + if [ $osreldate -gt 500000 ] && [ "$chrootjail" != "none" ]; then mount -t devfs devfs $chrootjail/dev devfs -m $chrootjail/dev rule apply hide devfs -m $chrootjail/dev rule apply path null unhide @@ -46,7 +46,7 @@ cvsd_prestart() cvsd_poststop() { - if [ $osreldate -gt 500000 ]; then + if [ $osreldate -gt 500000 ] && [ "$chrootjail" != "none" ]; then umount -t devfs $chrootjail/dev fi } -- cgit