summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2005-06-26 21:08:45 +0000
committerGuillaume Destuynder <kang@gentoo.org>2005-06-26 21:08:45 +0000
commit247fc32e66f5ffe3d98596db98df4dd5444f53fa (patch)
tree8135c33c5ea001c2f22a48a1c5c999f021238078 /net-p2p
parentRemoving old openal and webmin masks. (diff)
downloadgentoo-2-247fc32e66f5ffe3d98596db98df4dd5444f53fa.tar.gz
gentoo-2-247fc32e66f5ffe3d98596db98df4dd5444f53fa.tar.bz2
gentoo-2-247fc32e66f5ffe3d98596db98df4dd5444f53fa.zip
Initial import. This ebuild provides a replacement for mhxd (not supported anymore upstream), with the same functionality (or better).
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/phxd/ChangeLog8
-rw-r--r--net-p2p/phxd/Manifest4
-rw-r--r--net-p2p/phxd/files/80phxd1
-rw-r--r--net-p2p/phxd/files/digest-phxd-0.0.1_pre260620051
-rw-r--r--net-p2p/phxd/metadata.xml11
-rw-r--r--net-p2p/phxd/phxd-0.0.1_pre26062005.ebuild52
6 files changed, 77 insertions, 0 deletions
diff --git a/net-p2p/phxd/ChangeLog b/net-p2p/phxd/ChangeLog
new file mode 100644
index 000000000000..2b33d66f5f96
--- /dev/null
+++ b/net-p2p/phxd/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-p2p/phxd
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/phxd/ChangeLog,v 1.1 2005/06/26 21:08:45 kang Exp $
+
+ 26 Jun 2005; Guillaume Destuynder <kang@gentoo.org> ChangeLog:
+ Initial import. This ebuild provides a replacement for net-p2p/mhxd which is
+ not supported anymore upstream.
+
diff --git a/net-p2p/phxd/Manifest b/net-p2p/phxd/Manifest
new file mode 100644
index 000000000000..5a79a92f2a43
--- /dev/null
+++ b/net-p2p/phxd/Manifest
@@ -0,0 +1,4 @@
+MD5 79693c7da86eed892a12406bd1694b56 phxd-0.0.1_pre26062005.ebuild 1056
+MD5 1dd9fb7581c622633a8148da838ed108 ChangeLog 292
+MD5 2fe81bb56f58d110daa0935da3f11992 files/digest-phxd-0.0.1_pre26062005 73
+MD5 5969c95ca96db4f6bc3e0716d9652c16 files/80phxd 27
diff --git a/net-p2p/phxd/files/80phxd b/net-p2p/phxd/files/80phxd
new file mode 100644
index 000000000000..4c93ff2c5baf
--- /dev/null
+++ b/net-p2p/phxd/files/80phxd
@@ -0,0 +1 @@
+CONFIG_PROTECT="/var/phxd"
diff --git a/net-p2p/phxd/files/digest-phxd-0.0.1_pre26062005 b/net-p2p/phxd/files/digest-phxd-0.0.1_pre26062005
new file mode 100644
index 000000000000..dd85dcdde6b9
--- /dev/null
+++ b/net-p2p/phxd/files/digest-phxd-0.0.1_pre26062005
@@ -0,0 +1 @@
+MD5 ebc321fec67504e74f65229c38cf8915 phxd-0.0.1_pre26062005.tar.gz 23583
diff --git a/net-p2p/phxd/metadata.xml b/net-p2p/phxd/metadata.xml
new file mode 100644
index 000000000000..cf8510d38da7
--- /dev/null
+++ b/net-p2p/phxd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+<maintainer>
+ <email>kang@gentoo.org</email>
+ <name>Guillaume Destuynder</name>
+ <description>Hotline packages maintainer</description>
+</maintainer>
+<longdescription>phxd is an Hotline server under the GPL for Linux/Unixes. It supports the Hotline Protocol from 1.2.3 up to 1.5+ (and this means it also includes the 1.9+ clients)</longdescription>
+</pkgmetadata>
diff --git a/net-p2p/phxd/phxd-0.0.1_pre26062005.ebuild b/net-p2p/phxd/phxd-0.0.1_pre26062005.ebuild
new file mode 100644
index 000000000000..c6f133c6406a
--- /dev/null
+++ b/net-p2p/phxd/phxd-0.0.1_pre26062005.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/phxd/phxd-0.0.1_pre26062005.ebuild,v 1.1 2005/06/26 21:08:45 kang Exp $
+
+inherit eutils
+
+DESCRIPTION="Next generation Hotline server in python."
+HOMEPAGE="http://www.avaraline.net"
+SRC_URI="mirror://gentoo/phxd-0.0.1_pre26062005.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="mysql"
+
+DEPEND="dev-python/twisted
+ dev-python/twisted-web
+ mysql? (dev-db/mysql)"
+
+RDEPEND=""
+
+pkg_postinst() {
+ enewgroup phxd || die "Failed to create phxd group"
+ enewuser phxd -1 /bin/bash /var/phxd phxd || "Failed to create phxd user"
+ chown phxd:phxd /var/phxd/files
+ chown phxd:phxd /var/phxd/chatlogs
+}
+
+src_install() {
+ cd ${WORKDIR}
+ cd phxd
+
+ insinto /etc/env.d; doins ${FILESDIR}/80phxd
+
+ dodoc INSTALL README
+ dodir /var/phxd
+
+ exeinto /var/phxd; doexe phxd
+
+ cpdirs="support shared server"
+ for i in $cpdirs; do
+ cp -R $i ${D}/var/phxd
+ done
+ dodir /var/phxd/files
+ dodir /var/phxd/chatlogs
+
+ keepdir /var/phxd/files
+ keepdir /var/phxd/chatlogs
+ keepdir /var/phxd
+
+ insinto /var/phxd; doins config.py
+}