diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-12-14 09:39:32 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-12-14 09:39:32 +0000 |
commit | fbf94fdc312683eb8417f5e84f459fcf4512ed98 (patch) | |
tree | 73f11a219f3d1a8978a05f0892fa5f1142cc8f4f /dev-util | |
parent | Version bump (diff) | |
download | gentoo-2-fbf94fdc312683eb8417f5e84f459fcf4512ed98.tar.gz gentoo-2-fbf94fdc312683eb8417f5e84f459fcf4512ed98.tar.bz2 gentoo-2-fbf94fdc312683eb8417f5e84f459fcf4512ed98.zip |
Version bump
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/perforce/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/perforce/Manifest | 6 | ||||
-rw-r--r-- | dev-util/perforce/files/digest-perforce-2003.1 | 4 | ||||
-rw-r--r-- | dev-util/perforce/files/perforce-2003.1/50perforce | 3 | ||||
-rw-r--r-- | dev-util/perforce/files/perforce-2003.1/conf.d/perforce | 3 | ||||
-rw-r--r-- | dev-util/perforce/files/perforce-2003.1/init.d/perforce | 35 | ||||
-rw-r--r-- | dev-util/perforce/perforce-2003.1.ebuild | 58 |
7 files changed, 114 insertions, 4 deletions
diff --git a/dev-util/perforce/ChangeLog b/dev-util/perforce/ChangeLog index 5f7a7edd8f27..a17beb142b63 100644 --- a/dev-util/perforce/ChangeLog +++ b/dev-util/perforce/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/perforce # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/perforce/ChangeLog,v 1.3 2003/10/02 17:57:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/perforce/ChangeLog,v 1.4 2003/12/14 09:39:28 stuart Exp $ + +*perforce-2003.1 (14 Dec 2003) + + 14 Dec 2003; Stuart Herbert <stuart@gentoo.org> perforce-2003.1.ebuild, + files/perforce-2003.1/50perforce, files/perforce-2003.1/conf.d/perforce, + files/perforce-2003.1/init.d/perforce: + Version bump; from bug #19586. Thanks to Ben Calvert (ben@stonehenge-net.com) *perforce-2002.2-r1 (02 Oct 2003) diff --git a/dev-util/perforce/Manifest b/dev-util/perforce/Manifest index 8ea3f41b791a..c1d65a4559d5 100644 --- a/dev-util/perforce/Manifest +++ b/dev-util/perforce/Manifest @@ -1,6 +1,6 @@ MD5 909f003975e8033faf782816cff506f9 perforce-2002.2-r1.ebuild 1554 -MD5 24b004a440d7e5688a444501b43c8fbc perforce-2003.1.ebuild 1352 -MD5 92cc52780f3e362d0977880a2297c228 ChangeLog 864 +MD5 22fb10cc32d8d875a41015a99317cce0 perforce-2003.1.ebuild 1351 +MD5 6825282c2e1954a5390d41ba592be388 ChangeLog 1168 MD5 71da003bb2109fed15aff6635287c6a6 metadata.xml 222 MD5 e5aec264816f36b4018634c7884a8e3b perforce-2002.2.ebuild 1476 MD5 71ff013c747258365dfd982b619aaa15 files/digest-perforce-2002.2 342 @@ -11,4 +11,4 @@ MD5 7a54cc6c6d53acca3c67df75fb125100 files/perforce-2003.1/50perforce 95 MD5 848a2cb4e6486e833a0015794c7456c8 files/perforce-2002.2/conf.d/perforce 70 MD5 462ed459d61f9d520fa525f1b720f295 files/perforce-2002.2/init.d/perforce 1070 MD5 848a2cb4e6486e833a0015794c7456c8 files/perforce-2003.1/conf.d/perforce 70 -MD5 00c0e2edd87cc0c611aa59317ea8dce2 files/perforce-2003.1/init.d/perforce 976 +MD5 4c4c527a6902839d55fdb523385cece5 files/perforce-2003.1/init.d/perforce 976 diff --git a/dev-util/perforce/files/digest-perforce-2003.1 b/dev-util/perforce/files/digest-perforce-2003.1 new file mode 100644 index 000000000000..10a72e39dcc9 --- /dev/null +++ b/dev-util/perforce/files/digest-perforce-2003.1 @@ -0,0 +1,4 @@ +MD5 beb021d573de8a161220067ce3874405 p4d 1165272 +MD5 8ec46fb1fcc0c2a1b4678a215e2b7299 p4web 1441585 +MD5 016ecf305276c222a3cf881a9925c85d p4ftpd 606444 +MD5 381a27c69d707aa3498602a1c216a8d3 p4d.1 4529 diff --git a/dev-util/perforce/files/perforce-2003.1/50perforce b/dev-util/perforce/files/perforce-2003.1/50perforce new file mode 100644 index 000000000000..e2fcc607a662 --- /dev/null +++ b/dev-util/perforce/files/perforce-2003.1/50perforce @@ -0,0 +1,3 @@ +PATH=/opt/perforce/bin +ROOTPATH=/opt/perforce/bin:/opt/perforce/sbin +MANPATH=/opt/perforce/man diff --git a/dev-util/perforce/files/perforce-2003.1/conf.d/perforce b/dev-util/perforce/files/perforce-2003.1/conf.d/perforce new file mode 100644 index 000000000000..889d1b7941ca --- /dev/null +++ b/dev-util/perforce/files/perforce-2003.1/conf.d/perforce @@ -0,0 +1,3 @@ +# Config file for /etc/init.d/perforce + +P4D="-q -L /var/log/perforce" diff --git a/dev-util/perforce/files/perforce-2003.1/init.d/perforce b/dev-util/perforce/files/perforce-2003.1/init.d/perforce new file mode 100644 index 000000000000..1e6c7e121b5e --- /dev/null +++ b/dev-util/perforce/files/perforce-2003.1/init.d/perforce @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-util/perforce/files/perforce-2003.1/init.d/perforce,v 1.1 2003/12/14 09:39:28 stuart Exp $ +# +# NB: Configuration is in /etc/conf.d/perforce + +PIDFILE=/var/run/p4d.pid + +depend() { + need net +} + + +start() { + ebegin "Starting Perforce SCM" + # make sure they can't break our startup by passing -d (which would + # cause incorrect PID to be written to pidfile), or the incorrect + # depot root + P4D="`echo ${P4D} | sed -e 's#-d##' -e 's#-r [^[:space:]]*##'`" + start-stop-daemon --start --quiet --chuid perforce:perforce \ + --exec /usr/sbin/p4d \ + -- ${P4D} -d -r /var/lib/perforce + eend $? + +} + +stop() { + ebegin "Stopping Perforce SCM" + if ( ps -C p4d | grep 'p4d' > /dev/null ) + then + killall p4d + fi + eend $? +} diff --git a/dev-util/perforce/perforce-2003.1.ebuild b/dev-util/perforce/perforce-2003.1.ebuild new file mode 100644 index 000000000000..b8cf0e0d4e2b --- /dev/null +++ b/dev-util/perforce/perforce-2003.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Daemon for a commercial version control system" +HOMEPAGE="http://www.perforce.com/" +URI_BASE="ftp://ftp.perforce.com/perforce/r03.1/" +BIN_BASE="$URI_BASE/bin.linux24x86" +DOC_BASE="$URI_BASE/doc" +SRC_URI="${BIN_BASE}/p4d ${BIN_BASE}/p4web ${BIN_BASE}/p4ftpd ${DOC_BASE}/man/p4d.1" +LICENSE="perforce.pdf" +SLOT="0" +KEYWORDS="x86" +IUSE="" +DEPEND="virtual/glibc" +#RDEPEND="" +S=${WORKDIR} +RESTRICT="nomirror nostrip" +MY_FILES=$FILESDIR/perforce-2003.1/ + +src_unpack () +{ + # we have to copy all of the files from $DISTDIR, otherwise we get + # sandbox violations when trying to install + + for x in p4web p4d p4ftpd p4d.1 ; do + cp ${DISTDIR}/$x . + done +} + +src_install() +{ + enewuser perforce + enewgroup perforce + + dosbin p4d + dosbin p4web + dosbin p4ftpd + + fowners perforce:perforce /usr/sbin/p4d + fowners perforce:perforce /usr/sbin/p4ftpd + fowners perforce:perforce /usr/sbin/p4web + + mkdir -p ${D}/var/log + touch ${D}/var/log/perforce + fowners perforce:perforce /var/log/perforce + + doman p4d.1 + + keepdir /var/lib/perforce + fowners perforce:perforce /var/lib/perforce + + exeinto /etc/init.d + doexe ${MY_FILES}/init.d/perforce + insinto /etc/conf.d + doins ${MY_FILES}/conf.d/perforce + insinto /etc/env.d + doins ${MY_FILES}/50perforce +} |