diff options
author | Alec Warner <antarus@gentoo.org> | 2006-03-07 02:50:56 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-03-07 02:50:56 +0000 |
commit | 627883433773cc9a05eb4106d4d99a15e03cd899 (patch) | |
tree | 7885d93515c6664e3bc827e93ccc99970e6fac9b /net-irc | |
parent | Applying gcc-4.1 patch to close bug#124956 (diff) | |
download | gentoo-2-627883433773cc9a05eb4106d4d99a15e03cd899.tar.gz gentoo-2-627883433773cc9a05eb4106d4d99a15e03cd899.tar.bz2 gentoo-2-627883433773cc9a05eb4106d4d99a15e03cd899.zip |
Initial Commit, Ebuild and associated files contributed by Michael Tharp <gxti AT partiallystapled DOT com>
(Portage version: 2.1_pre5)
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/charybdis/ChangeLog | 12 | ||||
-rw-r--r-- | net-irc/charybdis/Manifest | 15 | ||||
-rw-r--r-- | net-irc/charybdis/charybdis-1.1.0.ebuild | 76 | ||||
-rw-r--r-- | net-irc/charybdis/files/charybdis-1.1.0-paths.patch | 44 | ||||
-rw-r--r-- | net-irc/charybdis/files/charybdis-ircd.confd | 5 | ||||
-rw-r--r-- | net-irc/charybdis/files/charybdis-ircd.initd | 21 | ||||
-rw-r--r-- | net-irc/charybdis/files/digest-charybdis-1.1.0 | 3 | ||||
-rw-r--r-- | net-irc/charybdis/metadata.xml | 23 |
8 files changed, 199 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..a946b407abea --- /dev/null +++ b/net-irc/charybdis/Manifest @@ -0,0 +1,15 @@ +MD5 3382e6e752980173c6b8b142facb8b87 charybdis-1.1.0.ebuild 2014 +RMD160 4555c2c9fb7b0529efe0e74d026c3a07939d5986 charybdis-1.1.0.ebuild 2014 +SHA256 699813ddf2d6bc8bd9b5dd3a5862ea7e06c929c132c57928dfc23f14e1a55f7a charybdis-1.1.0.ebuild 2014 +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 615bd4190016855884a227a67a1a1a86 files/charybdis-ircd.confd 143 +RMD160 30f3791899132b74893ef3f20a4c8f04f8d024fd files/charybdis-ircd.confd 143 +SHA256 16f95304250a642d34b98472fab4477b6fbec9699651ad5f363e8eb57ccdec2e files/charybdis-ircd.confd 143 +MD5 d01444f687428b422cc4a6711152a292 files/charybdis-ircd.initd 461 +RMD160 a9558dd58bb4510022d597edc7ff6234d47e6ccc files/charybdis-ircd.initd 461 +SHA256 8b433d3ed0b9bc2d7be93c18126829eb33a125419273e7b7b0c779fb8b6223bb files/charybdis-ircd.initd 461 +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 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> |