diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2008-02-24 03:11:57 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2008-02-24 03:11:57 +0000 |
commit | fa4a943c17e47bf910596a414fd7287983350b9b (patch) | |
tree | dc76cec18a505befc330e612e0a56bf1caa5ca49 /devel/p4d | |
parent | - Fix manpage pointing to correct PREFIX for binary and conf (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_0_0'.release/7.0.0
Notes
Notes:
svn path=/head/; revision=207820
svn path=/tags/RELEASE_7_0_0/; revision=207821; tag=release/7.0.0
Diffstat (limited to 'devel/p4d')
-rw-r--r-- | devel/p4d/Makefile | 149 | ||||
-rw-r--r-- | devel/p4d/distinfo.freebsd54x86 | 15 | ||||
-rw-r--r-- | devel/p4d/distinfo.freebsd54x86_64 | 15 | ||||
-rw-r--r-- | devel/p4d/distinfo.freebsd61sparc64 | 15 | ||||
-rw-r--r-- | devel/p4d/distinfo.freebsdaxp | 6 | ||||
-rw-r--r-- | devel/p4d/files/perforce.conf.in | 75 | ||||
-rw-r--r-- | devel/p4d/files/perforce.sh.in | 61 | ||||
-rw-r--r-- | devel/p4d/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p4d/pkg-install | 51 | ||||
-rw-r--r-- | devel/p4d/pkg-plist | 4 |
10 files changed, 0 insertions, 395 deletions
diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile deleted file mode 100644 index 785ca7676a02..000000000000 --- a/devel/p4d/Makefile +++ /dev/null @@ -1,149 +0,0 @@ -# New ports collection makefile for: perforce -# Date created: 3 Mai 2000 -# Whom: sam@inf.enst.fr -# -# $FreeBSD$ -# - -PORTNAME= perforce -PORTVERSION= ${VERSION} -PORTREVISION= ${REVISION} -PORTEPOCH= 1 -CATEGORIES= devel -MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/ \ - http://filehost.perforce.com/perforce/r${PORTVERSION}/bin.${PLATFORM}/ -EXTRACT_SUFX= -DISTFILES= ${BIN_FILES} ${SBIN_FILES} -EXTRACT_ONLY= # none - -MAINTAINER= lth@FreeBSD.org -COMMENT= Perforce client and server - -ONLY_FOR_ARCHS= alpha amd64 i386 sparc64 - -DIST_SUBDIR= perforce/${VERSION}/${ARCH} -MD5_FILE= ${MASTERDIR}/distinfo.${PLATFORM} - -# -# This is a kludge. I don't know a better way to set PORTVERSION and -# PORTREVISION such that pkg_version figures out an update is needed -# -ARCH!= /usr/bin/uname -p -ARCH?= i386 - -.if ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == sparc64 -VERSION= 06.2 -REVISION= 3 -BIN_FILES= p4 -SBIN_FILES= p4d p4ftpd p4p p4web -REL_NOTES= http://www.perforce.com/perforce/doc.062/user/relnotes.txt -.elif ${ARCH} == alpha -VERSION= 99.1 -REVISION= 1 -BIN_FILES= p4 -SBIN_FILES= p4d -REL_NOTES= http://www.perforce.com/perforce/doc.991/user/relnotes.txt -.else -VERSION= 0 -IGNORE= unsupported platform, sorry -.endif - -# End of kludge - -RESTRICTED= Restricted distribution - -NO_WRKSUBDIR= yes - -PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \ - ${SBIN_FILES:S+^+sbin/+g} - -.include <bsd.port.pre.mk> - -.if ${ARCH} == sparc64 && ${OSVERSION} > 700017 -BROKEN= requires compat6x, which has not yet been relased -.endif - -# Figure out what to install -.if ${ARCH} == alpha -PLATFORM= freebsdaxp -.elif ${ARCH} == amd64 -PLATFORM= freebsd54x86_64 -.if ${OSVERSION} >= 600000 -LIB_DEPENDS+= c_r.5:${PORTSDIR}/misc/compat5x -.endif -.elif ${ARCH} == i386 -PLATFORM= freebsd54x86 -.if ${OSVERSION} >= 600000 -LIB_DEPENDS+= c_r.5:${PORTSDIR}/misc/compat5x -.endif -.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000 -PLATFORM= freebsd61sparc64 -.else -IGNORE= unsupported OS release, sorry -.endif - -# These variables are all configurable. -PERFORCE_USER?= p4admin -PERFORCE_UID?= 94 -PERFORCE_GROUP?= p4admin -PERFORCE_GID?= 94 -PERFORCE_HOME?= ${LOCALBASE}/perforce -PERFORCE_ROOT?= ${PERFORCE_HOME}/root -PERFORCE_LOGS?= ${PERFORCE_HOME}/logs -PERFORCE_PORT?= 1666 -PERFORCE_CACHE?= ${PERFORCE_HOME}/cache -PERFORCE_TARGET?= perforce:1666 - -pre-everything:: - @${ECHO} "If the checksums fail, try doing 'make distclean'" - @${ECHO} "to force getting the latest binaries from Perforce." - @${ECHO} "" - @${ECHO} "Read the release notes for this release to determine" - @${ECHO} "how to migrate the database to the new version. In" - @${ECHO} "most instances, it is done automatically. However," - @${ECHO} "sometimes it must be done manually." - @${ECHO} "" - @${ECHO} "The release notes for this version are at" - @${ECHO} ${REL_NOTES} - @${ECHO} "" - @${ECHO} "Checkpoint and backup your data before installing!" - -do-build: - ${SED} -e "s,@PERFORCE_ROOT@,${PERFORCE_ROOT},g" \ - -e "s,@PERFORCE_LOGS@,${PERFORCE_LOGS},g" \ - -e "s,@PERFORCE_USER@,${PERFORCE_USER},g" \ - -e "s,@PERFORCE_PORT@,${PERFORCE_PORT},g" \ - -e "s,@PERFORCE_CACHE@,${PERFORCE_CACHE},g" \ - -e "s,@PERFORCE_TARGET@,${PERFORCE_TARGET},g" \ - < ${FILESDIR}/perforce.conf.in > ${WRKSRC}/perforce.conf - ${SED} -e "s,@PREFIX@,${PREFIX},g" \ - < ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh - -pre-su-install: - ${SETENV} PKG_PREFIX=${PREFIX} \ - PERFORCE_USER=${PERFORCE_USER} \ - PERFORCE_UID=${PERFORCE_UID} \ - PERFORCE_GROUP=${PERFORCE_GROUP} \ - PERFORCE_GID=${PERFORCE_GID} \ - PERFORCE_HOME=${PERFORCE_HOME} \ - PERFORCE_ROOT=${PERFORCE_ROOT} \ - PERFORCE_LOGS=${PERFORCE_LOGS} \ - ${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL - -do-install: -.for f in ${BIN_FILES} - ${INSTALL_PROGRAM} ${_DISTDIR}/${f} ${PREFIX}/bin/ -.endfor -.for f in ${SBIN_FILES} - ${INSTALL_PROGRAM} ${_DISTDIR}/${f} ${PREFIX}/sbin/ -.endfor - ${INSTALL_DATA} ${WRKSRC}/perforce.conf ${PREFIX}/etc/perforce.conf.default; \ - if [ ! -f ${PREFIX}/etc/perforce.conf ]; then \ - ${CP} -p ${PREFIX}/etc/perforce.conf.default ${PREFIX}/etc/perforce.conf; \ - fi - ${INSTALL_SCRIPT} ${WRKSRC}/perforce.sh ${PREFIX}/etc/rc.d/ - -post-install: - ${ECHO_CMD} "@unexec ${RMDIR} ${PERFORCE_ROOT} ${PERFORCE_LOGS} ${PERFORCE_HOME} 2>/dev/null || true" >> ${TMPPLIST} - -.include <bsd.port.post.mk> diff --git a/devel/p4d/distinfo.freebsd54x86 b/devel/p4d/distinfo.freebsd54x86 deleted file mode 100644 index 209005bf03cb..000000000000 --- a/devel/p4d/distinfo.freebsd54x86 +++ /dev/null @@ -1,15 +0,0 @@ -MD5 (perforce/06.2/i386/p4) = 95aa7364204817c3e33dcdbfceaf2452 -SHA256 (perforce/06.2/i386/p4) = 8da93b07f57f69a3e8392d88c5937b065e769cdd9c9413566e74bd0e557ffc64 -SIZE (perforce/06.2/i386/p4) = 506488 -MD5 (perforce/06.2/i386/p4d) = 96a05dd396a200adfca45d542c6069ea -SHA256 (perforce/06.2/i386/p4d) = 934cf42c2061328d6449fa807a96453a5670d77a702ef80fa260ea41d359a111 -SIZE (perforce/06.2/i386/p4d) = 1403352 -MD5 (perforce/06.2/i386/p4ftpd) = 72bedc6e05835eda0788da2eb0986c2f -SHA256 (perforce/06.2/i386/p4ftpd) = c324ace80099ef70f897a7b78e0e4677e383b63f0be6d2f31b80e7519d88502f -SIZE (perforce/06.2/i386/p4ftpd) = 602076 -MD5 (perforce/06.2/i386/p4p) = e7f32d9da739a12a804a46d647c496d4 -SHA256 (perforce/06.2/i386/p4p) = 82a7e7d3dd242650c6fa574de283c993567654038625b675990c4055236f7465 -SIZE (perforce/06.2/i386/p4p) = 444320 -MD5 (perforce/06.2/i386/p4web) = 16cf5ce929cd2bc068a47cbaf2f9f2e6 -SHA256 (perforce/06.2/i386/p4web) = 0322a7e50aa84c2aa20b218df4bf8fb86f3371d5496af99b56acd2b4a9e08581 -SIZE (perforce/06.2/i386/p4web) = 1695267 diff --git a/devel/p4d/distinfo.freebsd54x86_64 b/devel/p4d/distinfo.freebsd54x86_64 deleted file mode 100644 index 984309b037a3..000000000000 --- a/devel/p4d/distinfo.freebsd54x86_64 +++ /dev/null @@ -1,15 +0,0 @@ -MD5 (perforce/06.2/amd64/p4) = d93725b13a81360bce862d2216469bbc -SHA256 (perforce/06.2/amd64/p4) = e75bca064e60803a0628048fc4616ed4494326b53542622154969d71b75fbe3f -SIZE (perforce/06.2/amd64/p4) = 568632 -MD5 (perforce/06.2/amd64/p4d) = 56485b358233cad3ac5762474252ae78 -SHA256 (perforce/06.2/amd64/p4d) = f64241965f6f09d204a143fb2bc5adf5d589cdeeab0b8e90b8e88ad0392fc376 -SIZE (perforce/06.2/amd64/p4d) = 1556728 -MD5 (perforce/06.2/amd64/p4ftpd) = 0fda699385823285452a311951a7340d -SHA256 (perforce/06.2/amd64/p4ftpd) = deb1f1e2d68396b967b405642a29a32ad8e81bb6ce183df2712be333cb1bdb35 -SIZE (perforce/06.2/amd64/p4ftpd) = 678680 -MD5 (perforce/06.2/amd64/p4p) = 462e16d903e9d99613270b8fadd48295 -SHA256 (perforce/06.2/amd64/p4p) = d8e09b6f6746adfe6f19de1bd3494417b7e2e48f02bc08c897464f0ac3897a52 -SIZE (perforce/06.2/amd64/p4p) = 529472 -MD5 (perforce/06.2/amd64/p4web) = 075a3947b42d67f201920c2bf6dad3df -SHA256 (perforce/06.2/amd64/p4web) = 479c2c862ada10147971ddac1d67ed46f8b6950f8f60810aef5ac9a6ba209f08 -SIZE (perforce/06.2/amd64/p4web) = 1873416 diff --git a/devel/p4d/distinfo.freebsd61sparc64 b/devel/p4d/distinfo.freebsd61sparc64 deleted file mode 100644 index 40597d0399d5..000000000000 --- a/devel/p4d/distinfo.freebsd61sparc64 +++ /dev/null @@ -1,15 +0,0 @@ -MD5 (perforce/06.2/sparc64/p4) = 0dd88a52e2a00510bb9a9fe474bfffab -SHA256 (perforce/06.2/sparc64/p4) = 7079c6a17c634e7d376987f35319d799b93966a80be6ea86988073a93ef9a5b8 -SIZE (perforce/06.2/sparc64/p4) = 586008 -MD5 (perforce/06.2/sparc64/p4d) = 7a79813c544ff8fa623e2bbffa7fcfba -SHA256 (perforce/06.2/sparc64/p4d) = 83a16435e3566e7f32add7cab40fbb471ad8591854e9eebe2061664da53f1378 -SIZE (perforce/06.2/sparc64/p4d) = 1587480 -MD5 (perforce/06.2/sparc64/p4ftpd) = 9be748356e018db0a7dfa8ff4e95e2fb -SHA256 (perforce/06.2/sparc64/p4ftpd) = 9c1969c87df06b077bdc589383346674c022e0274b5324522582a213b20a25a7 -SIZE (perforce/06.2/sparc64/p4ftpd) = 700320 -MD5 (perforce/06.2/sparc64/p4p) = 2ce90e0dbfac6d9449bb1c9cd55fdfad -SHA256 (perforce/06.2/sparc64/p4p) = 1bad7dc3cf4814d99710e17f3b61b4991517be03c94d86cca0ce1d9fce369cea -SIZE (perforce/06.2/sparc64/p4p) = 556832 -MD5 (perforce/06.2/sparc64/p4web) = d0ba00ff910b16cc626964ff72c88591 -SHA256 (perforce/06.2/sparc64/p4web) = 9d27eb494e4f11308fb57426b596fcfacb64dbe2a453df5a32ac91a90745110d -SIZE (perforce/06.2/sparc64/p4web) = 1773992 diff --git a/devel/p4d/distinfo.freebsdaxp b/devel/p4d/distinfo.freebsdaxp deleted file mode 100644 index 0c6b5f2e7179..000000000000 --- a/devel/p4d/distinfo.freebsdaxp +++ /dev/null @@ -1,6 +0,0 @@ -MD5 (perforce/99.1/alpha/p4) = 7c1300a82ab03b7ede46cf8a02c48fd9 -MD5 (perforce/99.1/alpha/p4d) = 8f34c41c18185011ed848aaf450cffa5 -MD5 (perforce/99.1/alpha/p4.1) = 4a9d035eb5ef96342c2f701a02da40f9 -MD5 (perforce/99.1/alpha/p4d.1) = a08eb04e9668ba4d0abf47f3b12c56f7 -MD5 (perforce/03.1/i386/p4.1) = 58208eb02ba3786eed2d8e91d851cecd -MD5 (perforce/03.1/i386/p4d.1) = 381a27c69d707aa3498602a1c216a8d3 diff --git a/devel/p4d/files/perforce.conf.in b/devel/p4d/files/perforce.conf.in deleted file mode 100644 index 803c56f86d17..000000000000 --- a/devel/p4d/files/perforce.conf.in +++ /dev/null @@ -1,75 +0,0 @@ -# -# Perforce FreeBSD configuration file -# -# -# $FreeBSD$ - -# -# Perforce ROOT -# -PERFORCE_ROOT="@PERFORCE_ROOT@" - -# -# Perforce user (it is recommended to run p4d as a non-root user) -# -PERFORCE_USER="@PERFORCE_USER@" - -# -# 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" - -# -# Uncomment this line to have the server started automatically -# -#PERFORCE_START=yes - -# -# p4ftpd options (see p4ftpd -h) -# -PERFORCE_FTPD_OPTIONS="-d -p $PERFORCE_PORT -v server=1 -L @PERFORCE_LOGS@/p4ftpd.log" - -# -# 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 - -# -# 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 diff --git a/devel/p4d/files/perforce.sh.in b/devel/p4d/files/perforce.sh.in deleted file mode 100644 index 2ebc5809fa48..000000000000 --- a/devel/p4d/files/perforce.sh.in +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -p4d=@PREFIX@/sbin/p4d -p4ftpd=@PREFIX@/sbin/p4ftpd -p4p=@PREFIX@/sbin/p4p -p4web=@PREFIX@/sbin/p4web - -case $1 in -start) - [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf - if [ -x $p4d -a x$PERFORCE_START = xyes ]; then - echo -n ' p4d' - su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS" - fi - if [ -x $p4ftpd -a x$PERFORCE_FTPD_START = xyes ]; then - echo -n ' p4ftpd' - $p4ftpd $PERFORCE_FTPD_OPTIONS - fi - if [ -x $p4p -a x$PERFORCE_PROXY_START = xyes ]; then - 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) - [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf - if [ -x $p4ftpd ]; then - killall -u 0 p4ftpd >/dev/null 2>&1 && echo -n ' p4ftpd' - fi - if [ -x $p4d ]; then - killall -u $PERFORCE_USER p4d >/dev/null 2>&1 && echo -n ' p4d' - fi - 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 - sleep 1 - $0 start - ;; -checkpoint) - [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf - if [ -x $p4d -a x$PERFORCE_START = xyes ]; then - su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" - fi - ;; -*) - echo "usage: $0 {start|stop|restart|checkpoint}" - exit 64 - ;; -esac diff --git a/devel/p4d/pkg-descr b/devel/p4d/pkg-descr deleted file mode 100644 index e6d35851b44b..000000000000 --- a/devel/p4d/pkg-descr +++ /dev/null @@ -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/ diff --git a/devel/p4d/pkg-install b/devel/p4d/pkg-install deleted file mode 100644 index 88b4d17472f4..000000000000 --- a/devel/p4d/pkg-install +++ /dev/null @@ -1,51 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ - -PATH=/bin:/usr/sbin - -PERFORCE_USER=${PERFORCE_USER:-p4admin} -PERFORCE_UID=${PERFORCE_UID:-94} -PERFORCE_GROUP=${PERFORCE_GROUP:-p4admin} -PERFORCE_GID=${PERFORCE_GID:-94} -PERFORCE_HOME=${PERFORCE_HOME:-$PKG_PREFIX/perforce} -PERFORCE_LOGDIR=${PERFORCE_LOGDIR:-$PERFORCE_HOME/log} -PERFORCE_ROOT=${PERFORCE_ROOT:-$PERFORCE_HOME/root} - -case $2 in -PRE-INSTALL) - USER=${PERFORCE_USER} - GROUP=${PERFORCE_GROUP} - UID=${PERFORCE_UID} - GID=${PERFORCE_GID} - - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d ${PERFORCE_HOME} -c "Perforce admin" -s /sbin/nologin - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - - if [ ! -d $PERFORCE_HOME ] ; then - mkdir -p $PERFORCE_HOME $PERFORCE_LOGS $PERFORCE_ROOT - chown -R $USER:$GROUP $PERFORCE_HOME - fi - ;; -esac diff --git a/devel/p4d/pkg-plist b/devel/p4d/pkg-plist deleted file mode 100644 index 31e0893152cc..000000000000 --- a/devel/p4d/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@unexec if cmp -s %D/etc/perforce.conf %D/etc/perforce.conf.default; then rm -f %D/etc/perforce.conf; fi -etc/perforce.conf.default -@exec [ ! -f %B/perforce.conf ] && cp -p %B/%f %B/perforce.conf || true -etc/rc.d/perforce.sh |