diff options
author | John Polstra <jdp@FreeBSD.org> | 2002-11-11 17:21:29 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 2002-11-11 17:21:29 +0000 |
commit | d6a2c9b4cba86df59ff963c8652653b68ddf6066 (patch) | |
tree | a679052084f568aa13be3d836a40f2a7bf0d8e08 /net | |
parent | ca4549c5f8c9d0e494f162c4567f2c4a4c0e0d94 (diff) | |
download | ports-d6a2c9b4cba86df59ff963c8652653b68ddf6066.tar.gz ports-d6a2c9b4cba86df59ff963c8652653b68ddf6066.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/cvsup-mirror/Makefile | 1 | ||||
-rw-r--r-- | net/cvsup-mirror/files/cvsupd.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/net/cvsup-mirror/Makefile b/net/cvsup-mirror/Makefile index 00bedfa1895d..6dda767eb8ec 100644 --- a/net/cvsup-mirror/Makefile +++ b/net/cvsup-mirror/Makefile @@ -7,6 +7,7 @@ PORTNAME= cvsup-mirror PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= net DISTFILES= diff --git a/net/cvsup-mirror/files/cvsupd.sh b/net/cvsup-mirror/files/cvsupd.sh index f470dd3c6070..51bd87cc36f3 100644 --- a/net/cvsup-mirror/files/cvsupd.sh +++ b/net/cvsup-mirror/files/cvsupd.sh @@ -5,7 +5,7 @@ if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/cvsupd\.sh\$"); then exit 1 fi base=${PREFIX}/etc/cvsup -rundir=/var/tmp +rundir=/var/run out=${rundir}/cvsupd.out export PATH=/bin:/usr/bin:${PREFIX}/sbin @@ -19,6 +19,7 @@ cd ${rundir} || exit arg=${1:-start} case $arg in start) + (umask 22 && touch ${out}) || exit su -f -m ${user} -c \ "cvsupd -e -C 100 -l @${facility} -b ${base} -s sup.client" \ >>${out} 2>&1;; |