MFH: r469706

Perforce has removed the server components for FreeBSD.

Since the binaries are gone, nothing much to do other than remove it.

Approved by:	portmgr (antoine)
This commit is contained in:
Gordon Tetlow 2018-05-20 00:01:50 +00:00
parent faace5d303
commit eb9950df64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q2/; revision=470436
27 changed files with 0 additions and 486 deletions

View File

@ -1850,12 +1850,8 @@
SUBDIR += p4
SUBDIR += p4.el
SUBDIR += p4api
SUBDIR += p4d
SUBDIR += p4delta
SUBDIR += p4ftpd
SUBDIR += p4genpatch
SUBDIR += p4p
SUBDIR += p4web
SUBDIR += p5-AI-Pathfinding-AStar
SUBDIR += p5-AI-Prolog
SUBDIR += p5-ARGV-Struct

View File

@ -1,44 +0,0 @@
# Created by: gordon@FreeBSD.org
# $FreeBSD$
PORTNAME= p4d
PORTVERSION= 2016.1.1611275
CATEGORIES= devel
MASTER_SITES= ftp://ftp.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/ \
http://filehost.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/
DISTNAME= p4d
EXTRACT_SUFX=
EXTRACT_ONLY= # none
MAINTAINER= gordon@FreeBSD.org
COMMENT= Perforce server
RUN_DEPENDS= p4:devel/p4
RESTRICTED= Restricted distribution
NO_BUILD= yes
NO_WRKSUBDIR= yes
P4ROOT?= /var/db/p4d
P4LOG?= /var/log/p4d.log
PLIST_SUB= P4ROOT=${P4ROOT}
SUB_LIST= P4ROOT=${P4ROOT} \
P4LOG=${P4LOG}
USE_RC_SUBR= p4d
.include <bsd.port.pre.mk>
.include "${.CURDIR}/Makefile.inc"
USERS= p4admin
GROUPS= p4admin
do-install:
${INSTALL_PROGRAM} ${_DISTDIR}/p4d ${STAGEDIR}${PREFIX}/sbin/
${MKDIR} ${STAGEDIR}${P4ROOT}
.include <bsd.port.post.mk>

View File

@ -1,22 +0,0 @@
# Figure out what to install
.if ${OPSYS} == FreeBSD
ONLY_FOR_ARCHS?= amd64 i386
.if ${ARCH} == amd64
PLATFORM= freebsd100x86_64
.elif ${ARCH} == i386
PLATFORM= freebsd100x86
.else
IGNORE= unsupported OS release, sorry
.endif
.else
IGNORE= ${OPSYS} is unsupported, sorry
.endif
P4VERSION?= r${PORTVERSION:S/^20//:C/\.[0-9]+$//}
DIST_SUBDIR?= perforce/${PORTVERSION}/bin.${PLATFORM}
DISTINFO_FILE?= ${MASTERDIR}/distinfo.${PLATFORM}

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1517785967
SHA256 (perforce/2016.1.1611275/bin.freebsd100x86/p4d) = 3283e50f82842605ebfb5fd5cdd13d1729e10955fdc170154d3deb224b8418ee
SIZE (perforce/2016.1.1611275/bin.freebsd100x86/p4d) = 5885136

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1517785962
SHA256 (perforce/2016.1.1611275/bin.freebsd100x86_64/p4d) = 99784b81f31f2aaeedc341fd1a2144a69c4181db525cb3502b85c6c0e3c77c11
SIZE (perforce/2016.1.1611275/bin.freebsd100x86_64/p4d) = 6265800

View File

@ -1,53 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: p4d
# REQUIRE: LOGIN
# KEYWORD: shutdown
# These variables (and many more) can be set via environment variables. Check
# p4d -h for what you can set.
#
# Add the following line to /etc/rc.conf to enable p4d:
# p4d_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable p4d.
# p4d_root (str): Default to "%%P4ROOT%%".
# Base database directory.
# p4d_port (int): Default to "1666".
# Set to TCP port to bind to.
# p4d_debug (str): Default to "server=3".
# Debug options. Highly recommended.
# p4d_log (str): Default to "%%P4LOG%%".
# Logfile for debug output.
# p4d_args (str): Custom additional arguments to be passed
# to p4d (default empty).
#
. /etc/rc.subr
name="p4d"
rcvar=p4d_enable
load_rc_config $name
: ${p4d_enable="NO"}
: ${p4d_root="%%P4ROOT%%"}
: ${p4d_port="1666"}
: ${p4d_debug="server=3"}
: ${p4d_log="%%P4LOG%%"}
command="%%PREFIX%%/sbin/p4d"
command_args="-r ${p4d_root} -p ${p4d_port} -v ${p4d_debug} -L ${p4d_log} -d ${p4d_args} > /dev/null 2>&1 &"
p4d_user="p4admin"
start_precmd="p4d_prestart"
p4d_prestart()
{
if [ ! -f "${p4d_log}" ]; then
install -o p4admin -g p4admin -m 0640 /dev/null ${p4d_log}
fi
}
run_rc_command "$1"

View File

@ -1,4 +0,0 @@
Perforce is a commercial revision control system that can be used
gratis for developing free software. (see the WWW page for details).
WWW: http://www.perforce.com/

View File

@ -1,9 +0,0 @@
Read the release notes for this release to determine how to migrate the
database to the new version. Generally, this is done via the 'p4d -xu'
command.
http://www.perforce.com/perforce/doc.current/user/relnotes.txt
It is highly recommended that you checkpoint the server (with the old
binary) before you attempt an upgrade; please be sure you have valid
backups of your database before you go any further.

View File

@ -1,2 +0,0 @@
sbin/p4d
@dir(p4admin,p4admin,0750) %%P4ROOT%%

View File

@ -1,37 +0,0 @@
# Created by: gordon@FreeBSD.org
# $FreeBSD$
PORTNAME= p4ftpd
PORTVERSION= 2016.1.1443785
CATEGORIES= devel
MASTER_SITES= ftp://ftp.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/ \
http://filehost.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/
DISTNAME= p4ftpd
EXTRACT_SUFX=
EXTRACT_ONLY= # none
MAINTAINER= gordon@FreeBSD.org
COMMENT= Perforce server
RESTRICTED= Restricted distribution
NO_BUILD= yes
NO_WRKSUBDIR= yes
P4LOG?= /var/log/p4ftpd.log
SUB_LIST= P4LOG=${P4LOG}
USE_RC_SUBR= p4ftpd
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../p4d/Makefile.inc"
USERS= p4admin
GROUPS= p4admin
do-install:
${INSTALL_PROGRAM} ${_DISTDIR}/p4ftpd ${STAGEDIR}${PREFIX}/sbin/
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1475557747
SHA256 (perforce/2016.1.1443785/bin.freebsd100x86/p4ftpd) = 6c5c30f15d9f80426dfd8881593933b6079a280fba09c63ae730ff80a61be267
SIZE (perforce/2016.1.1443785/bin.freebsd100x86/p4ftpd) = 2637812

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1475557743
SHA256 (perforce/2016.1.1443785/bin.freebsd100x86_64/p4ftpd) = 1abbebd2989e4c667c4366655eaef8c49e990a7d266be883a060829192c0d3d9
SIZE (perforce/2016.1.1443785/bin.freebsd100x86_64/p4ftpd) = 2894856

View File

@ -1,52 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: p4ftpd
# REQUIRE: LOGIN
# KEYWORD: shutdown
# These variables (and many more) can be set via environment variables. Check
# p4ftpd -h for what you can set.
#
# Add the following line to /etc/rc.conf to enable p4ftpd:
# p4ftpd_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable p4ftpd.
# p4ftpd_listen (int): Default to "21".
# Set to TCP port to bind to.
# p4ftpd_port (int): Default to "1666".
# Set to Perforce server to connect to.
# p4ftpd_debug (str): Default to "4".
# Debug options. Highly recommended.
# p4ftpd_log (str): Default to "%%P4LOG%%".
# Logfile for debug output.
# p4ftpd_args (str): Custom additional arguments to be passed
# to p4ftpd (default empty).
#
. /etc/rc.subr
name="p4ftpd"
rcvar=p4ftpd_enable
load_rc_config $name
: ${p4ftpd_enable="NO"}
: ${p4ftpd_listen="21"}
: ${p4ftpd_port="1666"}
: ${p4ftpd_debug="4"}
: ${p4ftpd_log="%%P4LOG%%"}
command="%%PREFIX%%/sbin/p4ftpd"
command_args="-l ${p4ftpd_listen} -p ${p4ftpd_port} -v ${p4ftpd_debug} -L ${p4ftpd_log} -d -u p4admin ${p4ftpd_args} > /dev/null 2>&1 &"
start_precmd="p4ftpd_prestart"
p4ftpd_prestart()
{
if [ ! -f "${p4ftpd_log}" ]; then
install -o p4admin -g p4admin -m 0640 /dev/null ${p4ftpd_log}
fi
}
run_rc_command "$1"

View File

@ -1,4 +0,0 @@
Perforce is a commercial revision control system that can be used
gratis for developing free software. (see the WWW page for details).
WWW: http://www.perforce.com/

View File

@ -1 +0,0 @@
sbin/p4ftpd

View File

@ -1,44 +0,0 @@
# Created by: gordon@FreeBSD.org
# $FreeBSD$
PORTNAME= p4p
PORTVERSION= 2016.1.1598719
CATEGORIES= devel
MASTER_SITES= ftp://ftp.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/ \
http://filehost.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/
DISTNAME= p4p
EXTRACT_SUFX=
EXTRACT_ONLY= # none
MAINTAINER= gordon@FreeBSD.org
COMMENT= Perforce server
RUN_DEPENDS= p4:devel/p4
RESTRICTED= Restricted distribution
NO_BUILD= yes
NO_WRKSUBDIR= yes
P4CACHE?= /var/db/p4p
P4LOG?= /var/log/p4p.log
PLIST_SUB= P4CACHE=${P4CACHE}
SUB_LIST= P4CACHE=${P4CACHE} \
P4LOG=${P4LOG}
USE_RC_SUBR= p4p
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../p4d/Makefile.inc"
USERS= p4admin
GROUPS= p4admin
do-install:
${INSTALL_PROGRAM} ${_DISTDIR}/p4p ${STAGEDIR}${PREFIX}/sbin/
${MKDIR} ${STAGEDIR}${P4CACHE}
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1513828893
SHA256 (perforce/2016.1.1598719/bin.freebsd100x86/p4p) = 6063de546f8d305024d54dd69d93bdbb29d3a89ff9c224fa81de857ab8d3e79c
SIZE (perforce/2016.1.1598719/bin.freebsd100x86/p4p) = 2550320

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1513828886
SHA256 (perforce/2016.1.1598719/bin.freebsd100x86_64/p4p) = c0cfd944df914f81db74c70e0ca6643f0b9034267238e7bbeeb8708ee8a2ce0b
SIZE (perforce/2016.1.1598719/bin.freebsd100x86_64/p4p) = 3067480

View File

@ -1,56 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: p4p
# REQUIRE: LOGIN
# KEYWORD: shutdown
# These variables (and many more) can be set via environment variables. Check
# p4p -h for what you can set.
#
# Add the following line to /etc/rc.conf to enable p4p:
# p4p_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable p4p.
# p4p_cache (str): Default to "%%P4CACHE%%".
# Base cache directory.
# p4p_port (int): Default to "1666".
# Set to TCP port to bind to.
# p4p_target (str): Default to "perforce:1666".
# Target server to cache.
# p4p_debug (str): Default to "server=3".
# Debug options. Highly recommended.
# p4p_log (str): Default to "%%P4LOG%%".
# Logfile for debug output.
# p4p_args (str): Custom additional arguments to be passed
# to p4p (default empty).
#
. /etc/rc.subr
name="p4p"
rcvar=p4p_enable
load_rc_config $name
: ${p4p_enable="NO"}
: ${p4p_cache="%%P4CACHE%%"}
: ${p4p_port="1666"}
: ${p4p_target="perforce:1666"}
: ${p4p_debug="server=3"}
: ${p4p_log="%%P4LOG%%"}
command="%%PREFIX%%/sbin/p4p"
command_args="-r ${p4p_cache} -p ${p4p_port} -t ${p4p_target} -v ${p4p_debug} -L ${p4p_log} -d ${p4p_args} > /dev/null 2>&1 &"
p4p_user="p4admin"
start_precmd="p4p_prestart"
p4p_prestart()
{
if [ ! -f "${p4p_log}" ]; then
install -o p4admin -g p4admin -m 0640 /dev/null ${p4p_log}
fi
}
run_rc_command "$1"

View File

@ -1,4 +0,0 @@
Perforce is a commercial revision control system that can be used
gratis for developing free software. (see the WWW page for details).
WWW: http://www.perforce.com/

View File

@ -1,2 +0,0 @@
sbin/p4p
@dir(p4admin,p4admin,0750) %%P4CACHE%%

View File

@ -1,60 +0,0 @@
# Created by: gordon@FreeBSD.org
# $FreeBSD$
PORTNAME= p4web
PORTVERSION= 2012.1.732581
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://swarm.workshop.perforce.com/download/guest/perforce_software/p4web/bin/${P4VERSION}/bin.${PLATFORM}/
DISTNAME= p4web
EXTRACT_SUFX=
EXTRACT_ONLY= # none
MAINTAINER= gordon@FreeBSD.org
COMMENT= Perforce server
BROKEN= unfetchable
# 10.x (and higher) needs compat libs
LIB_DEPENDS= libstdc++.so.6:misc/compat9x
ONLY_FOR_ARCHS= amd64 i386
P4VERSION= r${PORTVERSION:S/^20//:C/\.[0-9]+$//}
DIST_SUBDIR= perforce/${PORTVERSION}/bin.${PLATFORM}
DISTINFO_FILE= ${MASTERDIR}/distinfo.${PLATFORM}
RESTRICTED= Restricted distribution
NO_BUILD= yes
NO_WRKSUBDIR= yes
P4LOG?= /var/log/p4web.log
SUB_LIST= P4LOG=${P4LOG}
USE_RC_SUBR= p4web
.include <bsd.port.pre.mk>
# Figure out what to install
.if ${ARCH} == amd64
PLATFORM= freebsd70x86_64
.elif ${ARCH} == i386
PLATFORM= freebsd70x86
.else
IGNORE= unsupported OS release, sorry
.endif
USERS= p4admin
GROUPS= p4admin
do-install:
${INSTALL_PROGRAM} ${_DISTDIR}/p4web ${STAGEDIR}${PREFIX}/sbin/
post-install:
@${ECHO_CMD} "@exec ${TOUCH} ${P4LOG}" >> ${TMPPLIST}
@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${P4LOG}" >> ${TMPPLIST}
@${ECHO_CMD} "@exec ${CHMOD} 640 ${P4LOG}" >> ${TMPPLIST}
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (perforce/2012.1.732581/bin.freebsd70x86/p4web) = f8f6e7ce86d65beadfcbadcc99104ade75d243f3b42f5fa70714d0903e137820
SIZE (perforce/2012.1.732581/bin.freebsd70x86/p4web) = 4197112

View File

@ -1,2 +0,0 @@
SHA256 (perforce/2012.1.732581/bin.freebsd70x86_64/p4web) = 4a6c5d5a6597757b4a37e62b1cd248ed70ff709730baf9d9f2ef3a360b2edc02
SIZE (perforce/2012.1.732581/bin.freebsd70x86_64/p4web) = 4098568

View File

@ -1,61 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: p4web
# REQUIRE: LOGIN
# KEYWORD: shutdown
# These variables (and many more) can be set via environment variables. Check
# p4web -h for what you can set.
#
# Add the following line to /etc/rc.conf to enable p4web:
# p4web_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable p4web.
# p4web_mode (str): Default to "viewer-auth".
# Specifies to mode to startup in. Possible values:
# viewer-auth, viewer-noauth, standard.
# p4web_listen (int): Default to "8080".
# Set to TCP port to bind to.
# p4web_port (str): Default to "perforce:1666".
# Set to P4PORT string to bind to.
# p4web_log (str): Default to "%%P4LOG%%".
# Log all requests sent to P4Web to the specified file.
# p4web_args (str): Custom additional arguments to be passed
# to p4web (default to empty).
#
. /etc/rc.subr
name="p4web"
rcvar=p4web_enable
load_rc_config $name
: ${p4web_enable="NO"}
: ${p4web_mode="viewer-auth"}
: ${p4web_listen="8080"}
: ${p4web_port="perforce:1666"}
: ${p4web_log="%%P4LOG%%"}
case ${p4web_mode} in
viewer-auth)
p4web_args="${p4web_args} -B"
;;
viewer-noauth)
p4web_args="${p4web_args} -b"
;;
standard)
;;
*)
echo "Invalid p4web_mode: ${p4web_mode}"
return 2
;;
esac
command="%%PREFIX%%/sbin/p4web"
command_args="-w ${p4web_listen} -p ${p4web_port} -L ${p4web_log} ${p4web_args} > /dev/null 2>&1 &"
p4web_user="p4admin"
run_rc_command "$1"

View File

@ -1,4 +0,0 @@
Perforce is a commercial revision control system that can be used
gratis for developing free software. (see the WWW page for details).
WWW: http://www.perforce.com/

View File

@ -1 +0,0 @@
sbin/p4web