diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-10-28 01:32:51 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-10-28 01:32:51 +0000 |
commit | fefed1bf3b9a276d32ce2e6b207354d93157be22 (patch) | |
tree | 0ae96339504e1318691deaa6d74cd0ddb50f998d /devel/p4ftpd/files | |
parent | 5321816733b99598b98461ec1e15fa41101a2543 (diff) | |
download | ports-fefed1bf3b9a276d32ce2e6b207354d93157be22.tar.gz ports-fefed1bf3b9a276d32ce2e6b207354d93157be22.zip |
Notes
Diffstat (limited to 'devel/p4ftpd/files')
-rw-r--r-- | devel/p4ftpd/files/perforce | 18 | ||||
-rw-r--r-- | devel/p4ftpd/files/perforce.sh.in | 11 |
2 files changed, 29 insertions, 0 deletions
diff --git a/devel/p4ftpd/files/perforce b/devel/p4ftpd/files/perforce new file mode 100644 index 000000000000..9c7b8134a405 --- /dev/null +++ b/devel/p4ftpd/files/perforce @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes diff --git a/devel/p4ftpd/files/perforce.sh.in b/devel/p4ftpd/files/perforce.sh.in new file mode 100644 index 000000000000..646b16f9bc8d --- /dev/null +++ b/devel/p4ftpd/files/perforce.sh.in @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac |