aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsd
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-26 22:49:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-02-26 22:49:34 +0000
commit44deb6e172e3f25d6621939e1b3b8c7f98add4c1 (patch)
treeb175212e756b57e858218bbaf8a091297a55da08 /devel/cvsd
parent687a2e1a8fe1f06b20e10439dfc54b7b411b9e20 (diff)
downloadports-44deb6e172e3f25d6621939e1b3b8c7f98add4c1.tar.gz
ports-44deb6e172e3f25d6621939e1b3b8c7f98add4c1.zip
Notes
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
}