summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-03-07 02:50:56 +0000
committerAlec Warner <antarus@gentoo.org>2006-03-07 02:50:56 +0000
commitfe1f894ee1e13012ca68396c68435d11eb7724dc (patch)
tree12f83feb6620f3ed1fd16c0eb113726beeea2ab7 /net-irc
parentAdding net-irc/charybdis:smallnet (diff)
downloadhistorical-fe1f894ee1e13012ca68396c68435d11eb7724dc.tar.gz
historical-fe1f894ee1e13012ca68396c68435d11eb7724dc.tar.bz2
historical-fe1f894ee1e13012ca68396c68435d11eb7724dc.zip
Initial Commit, Ebuild and associated files contributed by Michael Tharp <gxti AT partiallystapled DOT com>
Package-Manager: portage-2.1_pre5
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/charybdis/ChangeLog12
-rw-r--r--net-irc/charybdis/Manifest21
-rw-r--r--net-irc/charybdis/charybdis-1.1.0.ebuild76
-rw-r--r--net-irc/charybdis/files/charybdis-1.1.0-paths.patch44
-rw-r--r--net-irc/charybdis/files/charybdis-ircd.confd5
-rw-r--r--net-irc/charybdis/files/charybdis-ircd.initd21
-rw-r--r--net-irc/charybdis/files/digest-charybdis-1.1.03
-rw-r--r--net-irc/charybdis/metadata.xml23
8 files changed, 205 insertions, 0 deletions
diff --git a/net-irc/charybdis/ChangeLog b/net-irc/charybdis/ChangeLog
new file mode 100644
index 000000000000..c35ab55408d2
--- /dev/null
+++ b/net-irc/charybdis/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-irc/charybdis
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/ChangeLog,v 1.1 2006/03/07 02:50:56 antarus Exp $
+
+*charybdis-1.1.0 (07 Mar 2006)
+
+ 07 Mar 2006; Alec Warner <antarus@gentoo.org>
+ +files/charybdis-1.1.0-paths.patch, +files/charybdis-ircd.confd,
+ +files/charybdis-ircd.initd, +charybdis-1.1.0.ebuild:
+ Initial commit, ebuild submitted by Michael Tharp <gxti AT partiallystapled
+ DOT com>
+
diff --git a/net-irc/charybdis/Manifest b/net-irc/charybdis/Manifest
new file mode 100644
index 000000000000..152d0e000686
--- /dev/null
+++ b/net-irc/charybdis/Manifest
@@ -0,0 +1,21 @@
+MD5 df258922eb347697735aae495a2f99e1 ChangeLog 501
+RMD160 d036d9276c662359bbf8483a654fe42f967f5a92 ChangeLog 501
+SHA256 7d77583ae6cb4f3b32b3876226009480987c291a0b2533b93f80fa808f712b7a ChangeLog 501
+MD5 793e7b9d3fa3a51b38066ef8259e4261 charybdis-1.1.0.ebuild 2103
+RMD160 fa0ba03b411eda3dbdd38b015cee760ab2a6a981 charybdis-1.1.0.ebuild 2103
+SHA256 a8c9ece7b1aae0a4d8bdffcb1eb4d67329eced0853cd7b66e84de28bcba5285f charybdis-1.1.0.ebuild 2103
+MD5 b52ecec0de5140281ee2077e37d7f171 files/charybdis-1.1.0-paths.patch 2099
+RMD160 258852c33033d8f603f2020e9f84c8770a77e123 files/charybdis-1.1.0-paths.patch 2099
+SHA256 25147ddf906f5a66ebc5d7ca81eff91c5a4b9ce8781e272d4d005d958d6ab2ad files/charybdis-1.1.0-paths.patch 2099
+MD5 a14be2d3d90402a84985b3e9b6a67b6e files/charybdis-ircd.confd 250
+RMD160 1f7c2d72d3d312d49afdc0496b9d6d22b29796ce files/charybdis-ircd.confd 250
+SHA256 fb00d976e8af601ec7d00675fd13092db4ffba4ad2203661ec8ef2a4d93dcb59 files/charybdis-ircd.confd 250
+MD5 8309cace3b6460bef8a105f49c926635 files/charybdis-ircd.initd 568
+RMD160 35f1be86ba080724699e87b7b825d777b275eba1 files/charybdis-ircd.initd 568
+SHA256 153777070b52eb2c9ec8d12deb0a76b1efe74b4a397b0016c7bf9f19a150b34f files/charybdis-ircd.initd 568
+MD5 f9c4284c86dfa9ca61fc989f73054c32 files/digest-charybdis-1.1.0 238
+RMD160 d96f9114880e5696f2e254184a3b722251adb47e files/digest-charybdis-1.1.0 238
+SHA256 550f58f0c5fb1bdaa858840acb05b51061211bd256556d39dd20ebac97728752 files/digest-charybdis-1.1.0 238
+MD5 da1e5a88c5c13160c6eab82992a97a6b metadata.xml 806
+RMD160 abb69a020d330c2a6d41e428b56fdb7c5d6b0b85 metadata.xml 806
+SHA256 779ce3b335ce5f6faa22e475d4c6a627e16065d405709a4452c57daff85538bd metadata.xml 806
diff --git a/net-irc/charybdis/charybdis-1.1.0.ebuild b/net-irc/charybdis/charybdis-1.1.0.ebuild
new file mode 100644
index 000000000000..4e41cba87929
--- /dev/null
+++ b/net-irc/charybdis/charybdis-1.1.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/charybdis-1.1.0.ebuild,v 1.1 2006/03/07 02:50:56 antarus Exp $
+
+inherit eutils
+
+DESCRIPTION="A non-monolithic ircd loosely based on ircd-ratbox"
+HOMEPAGE="http://www.ircd-charybdis.org/"
+SRC_URI="http://www.charybdis.be/release/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ipv6 ssl debug smallnet zlib static"
+
+DEPEND="zlib? ( sys-libs/zlib )
+ ssl? ( dev-libs/openssl )"
+
+pkg_setup() {
+ enewuser ircd
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/charybdis-1.1.0-paths.patch
+}
+
+src_compile() {
+ econf \
+ $(use_enable ipv6) \
+ $(use_enable ssl openssl) \
+ $(use_enable debug assert) \
+ $(use_enable smallnet small-net) \
+ $(use_enable zlib) \
+ $(use_enable !static shared-modules) \
+ --with-confdir=/etc/charybdis \
+ --with-logdir=/var/log/charybdis \
+ --with-helpdir=/usr/share/charybdis/help \
+ --with-moduledir=/usr/lib/charybdis \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ newbin src/ircd ircd-charybdis
+ dobin servlink/servlink || die "dobin failed"
+
+ exeinto /usr/lib/charybdis
+ doexe modules/core/*.so || die "doexe failed"
+ exeinto /usr/lib/charybdis/autoload
+ doexe modules/*.so || die "doexe failed"
+ exeinto /usr/lib/charybdis/contrib
+ doexe contrib/*.so || die "doexe failed"
+
+ insinto /etc/charybdis
+ doins doc/example.conf || die "doins failed"
+ newins doc/example.conf ircd.conf
+ doins doc/reference.conf || die "doins failed"
+
+ dodoc doc/*.txt || die "dodoc failed"
+ dodoc doc/*.conf || die "dodoc failed"
+ dodoc doc/Tao-of-IRC.940110 || die "dodoc failed"
+
+ keepdir /var/{lib,log,run}/charybdis || die "keepdir failed"
+ fowners ircd:nobody /var/{lib,log,run}/charybdis || die "fowners failed"
+
+ newinitd ${FILESDIR}/charybdis-ircd.initd charybdis-ircd || die "newinitd failed"
+ newconfd ${FILESDIR}/charybdis-ircd.confd charybdis-ircd || die "newconfd failed"
+}
+
+pkg_postinst() {
+ ewarn "You should probably edit /etc/charybdis/ircd.conf at this point."
+}
+
diff --git a/net-irc/charybdis/files/charybdis-1.1.0-paths.patch b/net-irc/charybdis/files/charybdis-1.1.0-paths.patch
new file mode 100644
index 000000000000..721eb0b5de9e
--- /dev/null
+++ b/net-irc/charybdis/files/charybdis-1.1.0-paths.patch
@@ -0,0 +1,44 @@
+Index: include/config.h
+===================================================================
+--- include/config.h (revision 911)
++++ include/config.h (working copy)
+@@ -48,7 +48,7 @@
+ */
+
+ /* dirs */
+-#define DPATH IRCD_PREFIX
++#define DPATH "/var/lib/charybdis"
+ #define BINPATH IRCD_PREFIX "/bin/"
+ #define MODPATH MODULE_DIR
+ #define AUTOMODPATH MODULE_DIR "/autoload/"
+@@ -58,18 +58,18 @@
+ #define HPATH HELP_DIR "/opers"
+
+ /* files */
+-#define SPATH BINPATH "/ircd" /* ircd executable */
+-#define SLPATH BINPATH "/servlink" /* servlink executable */
+-#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
+-#define KPATH ETCPATH "/kline.conf" /* kline file */
+-#define DLPATH ETCPATH "/dline.conf" /* dline file */
+-#define XPATH ETCPATH "/xline.conf" /* xline file */
+-#define RESVPATH ETCPATH "/resv.conf" /* resv file */
+-#define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */
+-#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
+-#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
+-#define PPATH ETCPATH "/ircd.pid" /* pid file */
+-#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
++#define SPATH BINPATH "/ircd" /* ircd executable */
++#define SLPATH BINPATH "/servlink" /* servlink executable */
++#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
++#define KPATH "/var/lib/charybdis/kline.conf" /* kline file */
++#define DLPATH "/var/lib/charybdis/dline.conf" /* dline file */
++#define XPATH "/var/lib/charybdis/xline.conf" /* xline file */
++#define RESVPATH "/var/lib/charybdis/resv.conf" /* resv file */
++#define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */
++#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
++#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
++#define PPATH "/var/run/charybdis/ircd.pid" /* pid file */
++#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
+
+ /* IGNORE_BOGUS_TS
+ * Ignore bogus timestamps from other servers. Yes this will desync
diff --git a/net-irc/charybdis/files/charybdis-ircd.confd b/net-irc/charybdis/files/charybdis-ircd.confd
new file mode 100644
index 000000000000..822eb8bbbb97
--- /dev/null
+++ b/net-irc/charybdis/files/charybdis-ircd.confd
@@ -0,0 +1,5 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/files/charybdis-ircd.confd,v 1.1 2006/03/07 02:50:56 antarus Exp $
+
+CHARYBDIS_USER="ircd"
diff --git a/net-irc/charybdis/files/charybdis-ircd.initd b/net-irc/charybdis/files/charybdis-ircd.initd
new file mode 100644
index 000000000000..ae8daa7b5755
--- /dev/null
+++ b/net-irc/charybdis/files/charybdis-ircd.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/files/charybdis-ircd.initd,v 1.1 2006/03/07 02:50:56 antarus Exp $
+
+depend() {
+ use net
+ provide ircd
+}
+
+start() {
+ ebegin "Starting ircd-charybdis"
+ start-stop-daemon --start --quiet --chuid ${CHARYBDIS_USER} --exec /usr/bin/ircd-charybdis >/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ircd-charybdis"
+ start-stop-daemon --stop --quiet --pidfile /var/run/charybdis/ircd.pid
+ eend $?
+}
diff --git a/net-irc/charybdis/files/digest-charybdis-1.1.0 b/net-irc/charybdis/files/digest-charybdis-1.1.0
new file mode 100644
index 000000000000..968808ea5c64
--- /dev/null
+++ b/net-irc/charybdis/files/digest-charybdis-1.1.0
@@ -0,0 +1,3 @@
+MD5 a7b6f1282df42e4c184bec9eec6780e2 charybdis-1.1.0.tgz 750459
+RMD160 ca14dd24a15d9a558c5b8d4299a923eab3f313dd charybdis-1.1.0.tgz 750459
+SHA256 2eb642674d1d34bf69e86367ae2842afa78091a6779f7d9a3e03857ea6cf0690 charybdis-1.1.0.tgz 750459
diff --git a/net-irc/charybdis/metadata.xml b/net-irc/charybdis/metadata.xml
new file mode 100644
index 000000000000..fb0e0b108166
--- /dev/null
+++ b/net-irc/charybdis/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!--
+
+This is the example metadata file.
+The root element of this file is <pkgmetadata>. Within this element a
+number of subelements are allowed: herd, maintainer, and
+longdescription. herd is a required subelement.
+
+For a full description look at:
+http://www.gentoo.org/proj/en/metastructure/herds/
+
+
+Before committing, please remove the comments from this file. They are
+not relevant for general metadata.xml files.
+-->
+<pkgmetadata>
+<herd>net-irc</herd>
+<maintainer>
+ <email>antarus@gentoo.org</email>
+</maintainer>
+ <longdescription>Charybdis is a modular ircd based loosely off of ratbox. It's from the authors of hyperion, the ircd used at Freenode. </longdescription>
+</pkgmetadata>