aboutsummaryrefslogtreecommitdiff
path: root/devel/perforce/files/perforce.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/perforce/files/perforce.conf.in')
-rw-r--r--devel/perforce/files/perforce.conf.in22
1 files changed, 21 insertions, 1 deletions
diff --git a/devel/perforce/files/perforce.conf.in b/devel/perforce/files/perforce.conf.in
index a98aa38b842b..5db4fded51a2 100644
--- a/devel/perforce/files/perforce.conf.in
+++ b/devel/perforce/files/perforce.conf.in
@@ -15,11 +15,21 @@ PERFORCE_ROOT="@PERFORCE_ROOT@"
PERFORCE_USER="@PERFORCE_USER@"
#
-# p4d port (default: 1666)
+# p4d/p4p port (default: 1666)
#
PERFORCE_PORT="@PERFORCE_PORT@"
#
+# p4p cache directory
+#
+PERFORCE_PROXY_CACHE="@PERFORCE_CACHE@"
+
+#
+# p4p target server (default: perforce:1666)
+#
+PERFORCE_PROXY_TARGET="@PERFORCE_TARGET@"
+
+#
# p4d options (see man p4d)
#
PERFORCE_OPTIONS="-d -p $PERFORCE_PORT -v server=1 -L @PERFORCE_LOGS@/p4d.log"
@@ -38,3 +48,13 @@ PERFORCE_FTPD_OPTIONS="-d -p $PERFORCE_PORT -v server=1 -L @PERFORCE_LOGS@/p4ftp
# Uncomment this line to have the server started automatically
#
#PERFORCE_FTPD_START=yes
+
+#
+# p4p options (see p4p -h)
+#
+PERFORCE_PROXY_OPTIONS="-d -p $PERFORCE_PORT -t $PERFORCE_PROXY_TARGET -r $PERFORCE_PROXY_CACHE -v server=1 -L @PERFORCE_LOGS@/p4p.log"
+
+#
+# Uncomment this line to have the proxy server started automatically
+#
+#PERFORCE_PROXY_START=yes