aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsd
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-27 06:49:34 +0800
committermiwi <miwi@FreeBSD.org>2007-02-27 06:49:34 +0800
commita9491e349e6f26d658809cbb10fb0d09db5e9cf4 (patch)
treee6fa6ad1b0f01795844d69071d392bc44037e3dc /devel/cvsd
parent47940f4bcc0f681dc074186719e8d4df130bebbd (diff)
downloadfreebsd-ports-gnome-a9491e349e6f26d658809cbb10fb0d09db5e9cf4.tar.gz
freebsd-ports-gnome-a9491e349e6f26d658809cbb10fb0d09db5e9cf4.tar.zst
freebsd-ports-gnome-a9491e349e6f26d658809cbb10fb0d09db5e9cf4.zip
- 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 <ports@logvinov.com> Approved by: maintainer
Diffstat (limited to 'devel/cvsd')
-rw-r--r--devel/cvsd/Makefile1
-rw-r--r--devel/cvsd/files/cvsd.in4
2 files changed, 3 insertions, 2 deletions
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
}