summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-04-18 18:45:21 +0000
committerStuart Herbert <stuart@gentoo.org>2004-04-18 18:45:21 +0000
commitf3ace7ff30fc0f832d5f48db25db8a08fcc151b8 (patch)
tree7d23b56940a0ad4b524e1f5309ae5d0c0c6f58f4 /dev-util
parentAdded patches for the CAN-2004-0010, CAN-2004-0177 and CAN-2004-0178 vulnerab... (diff)
downloadgentoo-2-f3ace7ff30fc0f832d5f48db25db8a08fcc151b8.tar.gz
gentoo-2-f3ace7ff30fc0f832d5f48db25db8a08fcc151b8.tar.bz2
gentoo-2-f3ace7ff30fc0f832d5f48db25db8a08fcc151b8.zip
Initial import
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/perforce-server/ChangeLog10
-rw-r--r--dev-util/perforce-server/Manifest4
-rw-r--r--dev-util/perforce-server/files/digest-perforce-server-2003.24
-rw-r--r--dev-util/perforce-server/metadata.xml8
-rw-r--r--dev-util/perforce-server/perforce-server-2003.2.ebuild58
5 files changed, 84 insertions, 0 deletions
diff --git a/dev-util/perforce-server/ChangeLog b/dev-util/perforce-server/ChangeLog
new file mode 100644
index 000000000000..18681a4cd8a6
--- /dev/null
+++ b/dev-util/perforce-server/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/perforce-server
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/perforce-server/ChangeLog,v 1.1 2004/04/18 18:45:21 stuart Exp $
+
+*perforce-server-2003.2 (18 Apr 2004)
+
+ 18 Apr 2004; Stuart Herbert <stuart@gentoo.org> metadata.xml,
+ perforce-2003.2.ebuild, perforce-server-2003.2.ebuild:
+ Initial import.
+
diff --git a/dev-util/perforce-server/Manifest b/dev-util/perforce-server/Manifest
new file mode 100644
index 000000000000..0a120670de44
--- /dev/null
+++ b/dev-util/perforce-server/Manifest
@@ -0,0 +1,4 @@
+MD5 8134f161a272e5533eb09c3a9e8bc604 ChangeLog 132
+MD5 71da003bb2109fed15aff6635287c6a6 metadata.xml 222
+MD5 b12ba7d86f313a6b7b7a99457e010721 perforce-server-2003.2.ebuild 1352
+MD5 b9b08fb5ced4f4f3e798e90b7ecce0d7 files/digest-perforce-server-2003.2 199
diff --git a/dev-util/perforce-server/files/digest-perforce-server-2003.2 b/dev-util/perforce-server/files/digest-perforce-server-2003.2
new file mode 100644
index 000000000000..d48be58c3425
--- /dev/null
+++ b/dev-util/perforce-server/files/digest-perforce-server-2003.2
@@ -0,0 +1,4 @@
+MD5 99137d11102c457fd2e32838cf221a9e p4d 1165464
+MD5 8ec46fb1fcc0c2a1b4678a215e2b7299 p4web 1441585
+MD5 1daa79d4fc3c1422d32d5193c9006f8c p4ftpd 606540
+MD5 381a27c69d707aa3498602a1c216a8d3 p4d.1 4529
diff --git a/dev-util/perforce-server/metadata.xml b/dev-util/perforce-server/metadata.xml
new file mode 100644
index 000000000000..71d7ba9c0605
--- /dev/null
+++ b/dev-util/perforce-server/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>stuart@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-util/perforce-server/perforce-server-2003.2.ebuild b/dev-util/perforce-server/perforce-server-2003.2.ebuild
new file mode 100644
index 000000000000..a88e5a759649
--- /dev/null
+++ b/dev-util/perforce-server/perforce-server-2003.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 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
+}