mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Start p4web from rc.d script [1]
- Assume maintainership Submitted by: Mark Santcroos <marks@ripe.net> [1] Reviewed by: tobez
This commit is contained in:
parent
1abaada909
commit
a306f64971
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126720
@ -16,7 +16,7 @@ DISTFILES= ${BIN_FILES} ${SBIN_FILES}
|
||||
DIST_SUBDIR= perforce/${VERSION}/${ARCH}
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= lth@FreeBSD.org
|
||||
COMMENT= Perforce client and server
|
||||
|
||||
#
|
||||
@ -29,10 +29,10 @@ ARCH?= i386
|
||||
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
||||
.if ${ARCH} == i386
|
||||
VERSION= 04.2
|
||||
REVISION= 7
|
||||
REVISION= 8
|
||||
PLATFORM= freebsd4
|
||||
BIN_FILES= p4 p4web
|
||||
SBIN_FILES= p4d p4ftpd p4p
|
||||
BIN_FILES= p4
|
||||
SBIN_FILES= p4d p4ftpd p4p p4web
|
||||
REL_NOTES= http://www.perforce.com/perforce/doc.042/user/relnotes.txt
|
||||
.elif ${ARCH} == alpha
|
||||
VERSION= 99.1
|
||||
|
@ -58,3 +58,18 @@ PERFORCE_PROXY_OPTIONS="-d -p $PERFORCE_PORT -t $PERFORCE_PROXY_TARGET -r $PERFO
|
||||
# Uncomment this line to have the proxy server started automatically
|
||||
#
|
||||
#PERFORCE_PROXY_START=yes
|
||||
|
||||
#
|
||||
# p4web port
|
||||
#
|
||||
PERFORCE_WEB_PORT="6060"
|
||||
|
||||
#
|
||||
# p4web options (see p4web -h)
|
||||
#
|
||||
PERFORCE_WEB_OPTIONS="-B -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT -v server=1"
|
||||
|
||||
#
|
||||
# Uncomment this line to have the web server started automatically
|
||||
#
|
||||
#PERFORCE_WEB_START=yes
|
||||
|
@ -5,6 +5,7 @@
|
||||
p4d=@PREFIX@/sbin/p4d
|
||||
p4ftpd=@PREFIX@/sbin/p4ftpd
|
||||
p4p=@PREFIX@/sbin/p4p
|
||||
p4web=@PREFIX@/sbin/p4web
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@ -21,6 +22,10 @@ start)
|
||||
echo -n ' p4p'
|
||||
$p4p $PERFORCE_PROXY_OPTIONS
|
||||
fi
|
||||
if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then
|
||||
echo -n ' p4web'
|
||||
su -fm $PERFORCE_USER -c "$p4web $PERFORCE_WEB_OPTIONS > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
;;
|
||||
stop)
|
||||
@ -34,6 +39,9 @@ stop)
|
||||
if [ -x $p4p ]; then
|
||||
killall -u 0 p4p > /dev/null 2>&1 && echo -n ' p4p'
|
||||
fi
|
||||
if [ -x $p4web ]; then
|
||||
killall -u $PERFORCE_USER p4web > /dev/null 2>&1 && echo -n ' p4web'
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
|
@ -16,7 +16,7 @@ DISTFILES= ${BIN_FILES} ${SBIN_FILES}
|
||||
DIST_SUBDIR= perforce/${VERSION}/${ARCH}
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= lth@FreeBSD.org
|
||||
COMMENT= Perforce client and server
|
||||
|
||||
#
|
||||
@ -29,10 +29,10 @@ ARCH?= i386
|
||||
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
||||
.if ${ARCH} == i386
|
||||
VERSION= 04.2
|
||||
REVISION= 7
|
||||
REVISION= 8
|
||||
PLATFORM= freebsd4
|
||||
BIN_FILES= p4 p4web
|
||||
SBIN_FILES= p4d p4ftpd p4p
|
||||
BIN_FILES= p4
|
||||
SBIN_FILES= p4d p4ftpd p4p p4web
|
||||
REL_NOTES= http://www.perforce.com/perforce/doc.042/user/relnotes.txt
|
||||
.elif ${ARCH} == alpha
|
||||
VERSION= 99.1
|
||||
|
@ -58,3 +58,18 @@ PERFORCE_PROXY_OPTIONS="-d -p $PERFORCE_PORT -t $PERFORCE_PROXY_TARGET -r $PERFO
|
||||
# Uncomment this line to have the proxy server started automatically
|
||||
#
|
||||
#PERFORCE_PROXY_START=yes
|
||||
|
||||
#
|
||||
# p4web port
|
||||
#
|
||||
PERFORCE_WEB_PORT="6060"
|
||||
|
||||
#
|
||||
# p4web options (see p4web -h)
|
||||
#
|
||||
PERFORCE_WEB_OPTIONS="-B -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT -v server=1"
|
||||
|
||||
#
|
||||
# Uncomment this line to have the web server started automatically
|
||||
#
|
||||
#PERFORCE_WEB_START=yes
|
||||
|
@ -5,6 +5,7 @@
|
||||
p4d=@PREFIX@/sbin/p4d
|
||||
p4ftpd=@PREFIX@/sbin/p4ftpd
|
||||
p4p=@PREFIX@/sbin/p4p
|
||||
p4web=@PREFIX@/sbin/p4web
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@ -21,6 +22,10 @@ start)
|
||||
echo -n ' p4p'
|
||||
$p4p $PERFORCE_PROXY_OPTIONS
|
||||
fi
|
||||
if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then
|
||||
echo -n ' p4web'
|
||||
su -fm $PERFORCE_USER -c "$p4web $PERFORCE_WEB_OPTIONS > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
;;
|
||||
stop)
|
||||
@ -34,6 +39,9 @@ stop)
|
||||
if [ -x $p4p ]; then
|
||||
killall -u 0 p4p > /dev/null 2>&1 && echo -n ' p4p'
|
||||
fi
|
||||
if [ -x $p4web ]; then
|
||||
killall -u $PERFORCE_USER p4web > /dev/null 2>&1 && echo -n ' p4web'
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
|
@ -16,7 +16,7 @@ DISTFILES= ${BIN_FILES} ${SBIN_FILES}
|
||||
DIST_SUBDIR= perforce/${VERSION}/${ARCH}
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= lth@FreeBSD.org
|
||||
COMMENT= Perforce client and server
|
||||
|
||||
#
|
||||
@ -29,10 +29,10 @@ ARCH?= i386
|
||||
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
||||
.if ${ARCH} == i386
|
||||
VERSION= 04.2
|
||||
REVISION= 7
|
||||
REVISION= 8
|
||||
PLATFORM= freebsd4
|
||||
BIN_FILES= p4 p4web
|
||||
SBIN_FILES= p4d p4ftpd p4p
|
||||
BIN_FILES= p4
|
||||
SBIN_FILES= p4d p4ftpd p4p p4web
|
||||
REL_NOTES= http://www.perforce.com/perforce/doc.042/user/relnotes.txt
|
||||
.elif ${ARCH} == alpha
|
||||
VERSION= 99.1
|
||||
|
@ -58,3 +58,18 @@ PERFORCE_PROXY_OPTIONS="-d -p $PERFORCE_PORT -t $PERFORCE_PROXY_TARGET -r $PERFO
|
||||
# Uncomment this line to have the proxy server started automatically
|
||||
#
|
||||
#PERFORCE_PROXY_START=yes
|
||||
|
||||
#
|
||||
# p4web port
|
||||
#
|
||||
PERFORCE_WEB_PORT="6060"
|
||||
|
||||
#
|
||||
# p4web options (see p4web -h)
|
||||
#
|
||||
PERFORCE_WEB_OPTIONS="-B -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT -v server=1"
|
||||
|
||||
#
|
||||
# Uncomment this line to have the web server started automatically
|
||||
#
|
||||
#PERFORCE_WEB_START=yes
|
||||
|
@ -5,6 +5,7 @@
|
||||
p4d=@PREFIX@/sbin/p4d
|
||||
p4ftpd=@PREFIX@/sbin/p4ftpd
|
||||
p4p=@PREFIX@/sbin/p4p
|
||||
p4web=@PREFIX@/sbin/p4web
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@ -21,6 +22,10 @@ start)
|
||||
echo -n ' p4p'
|
||||
$p4p $PERFORCE_PROXY_OPTIONS
|
||||
fi
|
||||
if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then
|
||||
echo -n ' p4web'
|
||||
su -fm $PERFORCE_USER -c "$p4web $PERFORCE_WEB_OPTIONS > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
;;
|
||||
stop)
|
||||
@ -34,6 +39,9 @@ stop)
|
||||
if [ -x $p4p ]; then
|
||||
killall -u 0 p4p > /dev/null 2>&1 && echo -n ' p4p'
|
||||
fi
|
||||
if [ -x $p4web ]; then
|
||||
killall -u $PERFORCE_USER p4web > /dev/null 2>&1 && echo -n ' p4web'
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
|
@ -16,7 +16,7 @@ DISTFILES= ${BIN_FILES} ${SBIN_FILES}
|
||||
DIST_SUBDIR= perforce/${VERSION}/${ARCH}
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= lth@FreeBSD.org
|
||||
COMMENT= Perforce client and server
|
||||
|
||||
#
|
||||
@ -29,10 +29,10 @@ ARCH?= i386
|
||||
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
||||
.if ${ARCH} == i386
|
||||
VERSION= 04.2
|
||||
REVISION= 7
|
||||
REVISION= 8
|
||||
PLATFORM= freebsd4
|
||||
BIN_FILES= p4 p4web
|
||||
SBIN_FILES= p4d p4ftpd p4p
|
||||
BIN_FILES= p4
|
||||
SBIN_FILES= p4d p4ftpd p4p p4web
|
||||
REL_NOTES= http://www.perforce.com/perforce/doc.042/user/relnotes.txt
|
||||
.elif ${ARCH} == alpha
|
||||
VERSION= 99.1
|
||||
|
@ -58,3 +58,18 @@ PERFORCE_PROXY_OPTIONS="-d -p $PERFORCE_PORT -t $PERFORCE_PROXY_TARGET -r $PERFO
|
||||
# Uncomment this line to have the proxy server started automatically
|
||||
#
|
||||
#PERFORCE_PROXY_START=yes
|
||||
|
||||
#
|
||||
# p4web port
|
||||
#
|
||||
PERFORCE_WEB_PORT="6060"
|
||||
|
||||
#
|
||||
# p4web options (see p4web -h)
|
||||
#
|
||||
PERFORCE_WEB_OPTIONS="-B -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT -v server=1"
|
||||
|
||||
#
|
||||
# Uncomment this line to have the web server started automatically
|
||||
#
|
||||
#PERFORCE_WEB_START=yes
|
||||
|
@ -5,6 +5,7 @@
|
||||
p4d=@PREFIX@/sbin/p4d
|
||||
p4ftpd=@PREFIX@/sbin/p4ftpd
|
||||
p4p=@PREFIX@/sbin/p4p
|
||||
p4web=@PREFIX@/sbin/p4web
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@ -21,6 +22,10 @@ start)
|
||||
echo -n ' p4p'
|
||||
$p4p $PERFORCE_PROXY_OPTIONS
|
||||
fi
|
||||
if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then
|
||||
echo -n ' p4web'
|
||||
su -fm $PERFORCE_USER -c "$p4web $PERFORCE_WEB_OPTIONS > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
;;
|
||||
stop)
|
||||
@ -34,6 +39,9 @@ stop)
|
||||
if [ -x $p4p ]; then
|
||||
killall -u 0 p4p > /dev/null 2>&1 && echo -n ' p4p'
|
||||
fi
|
||||
if [ -x $p4web ]; then
|
||||
killall -u $PERFORCE_USER p4web > /dev/null 2>&1 && echo -n ' p4web'
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
|
@ -16,7 +16,7 @@ DISTFILES= ${BIN_FILES} ${SBIN_FILES}
|
||||
DIST_SUBDIR= perforce/${VERSION}/${ARCH}
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= lth@FreeBSD.org
|
||||
COMMENT= Perforce client and server
|
||||
|
||||
#
|
||||
@ -29,10 +29,10 @@ ARCH?= i386
|
||||
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
||||
.if ${ARCH} == i386
|
||||
VERSION= 04.2
|
||||
REVISION= 7
|
||||
REVISION= 8
|
||||
PLATFORM= freebsd4
|
||||
BIN_FILES= p4 p4web
|
||||
SBIN_FILES= p4d p4ftpd p4p
|
||||
BIN_FILES= p4
|
||||
SBIN_FILES= p4d p4ftpd p4p p4web
|
||||
REL_NOTES= http://www.perforce.com/perforce/doc.042/user/relnotes.txt
|
||||
.elif ${ARCH} == alpha
|
||||
VERSION= 99.1
|
||||
|
@ -58,3 +58,18 @@ PERFORCE_PROXY_OPTIONS="-d -p $PERFORCE_PORT -t $PERFORCE_PROXY_TARGET -r $PERFO
|
||||
# Uncomment this line to have the proxy server started automatically
|
||||
#
|
||||
#PERFORCE_PROXY_START=yes
|
||||
|
||||
#
|
||||
# p4web port
|
||||
#
|
||||
PERFORCE_WEB_PORT="6060"
|
||||
|
||||
#
|
||||
# p4web options (see p4web -h)
|
||||
#
|
||||
PERFORCE_WEB_OPTIONS="-B -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT -v server=1"
|
||||
|
||||
#
|
||||
# Uncomment this line to have the web server started automatically
|
||||
#
|
||||
#PERFORCE_WEB_START=yes
|
||||
|
@ -5,6 +5,7 @@
|
||||
p4d=@PREFIX@/sbin/p4d
|
||||
p4ftpd=@PREFIX@/sbin/p4ftpd
|
||||
p4p=@PREFIX@/sbin/p4p
|
||||
p4web=@PREFIX@/sbin/p4web
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@ -21,6 +22,10 @@ start)
|
||||
echo -n ' p4p'
|
||||
$p4p $PERFORCE_PROXY_OPTIONS
|
||||
fi
|
||||
if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then
|
||||
echo -n ' p4web'
|
||||
su -fm $PERFORCE_USER -c "$p4web $PERFORCE_WEB_OPTIONS > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
;;
|
||||
stop)
|
||||
@ -34,6 +39,9 @@ stop)
|
||||
if [ -x $p4p ]; then
|
||||
killall -u 0 p4p > /dev/null 2>&1 && echo -n ' p4p'
|
||||
fi
|
||||
if [ -x $p4web ]; then
|
||||
killall -u $PERFORCE_USER p4web > /dev/null 2>&1 && echo -n ' p4web'
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
|
@ -16,7 +16,7 @@ DISTFILES= ${BIN_FILES} ${SBIN_FILES}
|
||||
DIST_SUBDIR= perforce/${VERSION}/${ARCH}
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= lth@FreeBSD.org
|
||||
COMMENT= Perforce client and server
|
||||
|
||||
#
|
||||
@ -29,10 +29,10 @@ ARCH?= i386
|
||||
MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
|
||||
.if ${ARCH} == i386
|
||||
VERSION= 04.2
|
||||
REVISION= 7
|
||||
REVISION= 8
|
||||
PLATFORM= freebsd4
|
||||
BIN_FILES= p4 p4web
|
||||
SBIN_FILES= p4d p4ftpd p4p
|
||||
BIN_FILES= p4
|
||||
SBIN_FILES= p4d p4ftpd p4p p4web
|
||||
REL_NOTES= http://www.perforce.com/perforce/doc.042/user/relnotes.txt
|
||||
.elif ${ARCH} == alpha
|
||||
VERSION= 99.1
|
||||
|
@ -58,3 +58,18 @@ PERFORCE_PROXY_OPTIONS="-d -p $PERFORCE_PORT -t $PERFORCE_PROXY_TARGET -r $PERFO
|
||||
# Uncomment this line to have the proxy server started automatically
|
||||
#
|
||||
#PERFORCE_PROXY_START=yes
|
||||
|
||||
#
|
||||
# p4web port
|
||||
#
|
||||
PERFORCE_WEB_PORT="6060"
|
||||
|
||||
#
|
||||
# p4web options (see p4web -h)
|
||||
#
|
||||
PERFORCE_WEB_OPTIONS="-B -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT -v server=1"
|
||||
|
||||
#
|
||||
# Uncomment this line to have the web server started automatically
|
||||
#
|
||||
#PERFORCE_WEB_START=yes
|
||||
|
@ -5,6 +5,7 @@
|
||||
p4d=@PREFIX@/sbin/p4d
|
||||
p4ftpd=@PREFIX@/sbin/p4ftpd
|
||||
p4p=@PREFIX@/sbin/p4p
|
||||
p4web=@PREFIX@/sbin/p4web
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
@ -21,6 +22,10 @@ start)
|
||||
echo -n ' p4p'
|
||||
$p4p $PERFORCE_PROXY_OPTIONS
|
||||
fi
|
||||
if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then
|
||||
echo -n ' p4web'
|
||||
su -fm $PERFORCE_USER -c "$p4web $PERFORCE_WEB_OPTIONS > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
;;
|
||||
stop)
|
||||
@ -34,6 +39,9 @@ stop)
|
||||
if [ -x $p4p ]; then
|
||||
killall -u 0 p4p > /dev/null 2>&1 && echo -n ' p4p'
|
||||
fi
|
||||
if [ -x $p4web ]; then
|
||||
killall -u $PERFORCE_USER p4web > /dev/null 2>&1 && echo -n ' p4web'
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
|
Loading…
Reference in New Issue
Block a user