diff options
author | Chuck Short <zul@gentoo.org> | 2003-10-25 01:44:56 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2003-10-25 01:44:56 +0000 |
commit | 46b1c3d26ac09f292b0ea20bc3396b28fb8abcb8 (patch) | |
tree | e3301063b0f82fbd33083faa9d38fc24b1286c37 /net-irc/ultimate | |
parent | Initial release, closes #31466. (diff) | |
download | gentoo-2-46b1c3d26ac09f292b0ea20bc3396b28fb8abcb8.tar.gz gentoo-2-46b1c3d26ac09f292b0ea20bc3396b28fb8abcb8.tar.bz2 gentoo-2-46b1c3d26ac09f292b0ea20bc3396b28fb8abcb8.zip |
Initial release, closes #31466.
Diffstat (limited to 'net-irc/ultimate')
-rw-r--r-- | net-irc/ultimate/ChangeLog | 11 | ||||
-rw-r--r-- | net-irc/ultimate/Manifest | 4 | ||||
-rw-r--r-- | net-irc/ultimate/files/Ultimate-2.8.7-gentoo.patch | 12 | ||||
-rw-r--r-- | net-irc/ultimate/files/digest-ultimate-2.8.7 | 1 | ||||
-rw-r--r-- | net-irc/ultimate/files/setup.h | 26 | ||||
-rw-r--r-- | net-irc/ultimate/files/ultimateircd.conf | 6 | ||||
-rw-r--r-- | net-irc/ultimate/files/ultimateircd.rc | 6 | ||||
-rw-r--r-- | net-irc/ultimate/metadata.xml | 5 | ||||
-rw-r--r-- | net-irc/ultimate/ultimate-2.8.7.ebuild | 95 |
9 files changed, 165 insertions, 1 deletions
diff --git a/net-irc/ultimate/ChangeLog b/net-irc/ultimate/ChangeLog new file mode 100644 index 000000000000..94b511aa0948 --- /dev/null +++ b/net-irc/ultimate/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-irc/ultimate +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ultimate/ChangeLog,v 1.1 2003/10/25 01:44:43 zul Exp $ + +*ultimate-2.8.7 (24 Oct 2003) + + 24 Oct 2003; Chuck Short <zul@gentoo.org> ultimate-2.8.7.ebuild, + files/Ultimate-2.8.7-gentoo.patch, files/setup.h, files/ultimateircd.conf, + files/ultimateircd.rc: + Initial version, closes #31466. + diff --git a/net-irc/ultimate/Manifest b/net-irc/ultimate/Manifest index 88cac3a7b13b..6ddea028b6eb 100644 --- a/net-irc/ultimate/Manifest +++ b/net-irc/ultimate/Manifest @@ -1,4 +1,6 @@ -MD5 aa6f72eb1712ed87a04940daab10fb4d ultimate-2.8.7.ebuild 3099 +MD5 2149fd517e1599b3ec20d1d3a21f2cb5 ultimate-2.8.7.ebuild 3182 +MD5 0c98f05eaed186ffdadb35afbc0e267d ChangeLog 446 +MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 MD5 0e80c10558167e161746bfc5d3a443e1 files/ultimateircd.rc 179 MD5 8af0419297384fbb53922f83cc7d85df files/setup.h 483 MD5 0e80c10558167e161746bfc5d3a443e1 files/ultimateircd.conf 179 diff --git a/net-irc/ultimate/files/Ultimate-2.8.7-gentoo.patch b/net-irc/ultimate/files/Ultimate-2.8.7-gentoo.patch new file mode 100644 index 000000000000..ed3a12a9b256 --- /dev/null +++ b/net-irc/ultimate/files/Ultimate-2.8.7-gentoo.patch @@ -0,0 +1,12 @@ +diff -Naur Ultimate2.8.7.old/src/Makefile Ultimate2.8.7/src/Makefile +--- Ultimate2.8.7.old/src/Makefile 2003-10-21 18:13:19.000000000 +0000 ++++ Ultimate2.8.7/src/Makefile 2003-10-21 18:13:58.000000000 +0000 +@@ -61,7 +61,7 @@ + $(CC) $(CFLAGS) -c version.c + + ircd: $(OBJS) +- $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(IRCDLIBS) -o ircd ++ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -lresolv -lcrypt -o ircd + chmod $(IRCDMODE) ircd + + saber: $(SRC) diff --git a/net-irc/ultimate/files/digest-ultimate-2.8.7 b/net-irc/ultimate/files/digest-ultimate-2.8.7 new file mode 100644 index 000000000000..6cdf0bc5ee9d --- /dev/null +++ b/net-irc/ultimate/files/digest-ultimate-2.8.7 @@ -0,0 +1 @@ +MD5 f1513e76322eac36ab654ff6cda92f15 Ultimate2.8.7.tar.gz 409360 diff --git a/net-irc/ultimate/files/setup.h b/net-irc/ultimate/files/setup.h new file mode 100644 index 000000000000..635d9cf3801f --- /dev/null +++ b/net-irc/ultimate/files/setup.h @@ -0,0 +1,26 @@ +#ifndef __setup_include__ +#define __setup_include__ +#define PARAMH +#define UNISTDH +#define STRINGH +#define STRINGSH +#define STDLIBH +#undef STDDEFH +#define SYSSYSLOGH +#undef NOINDEX +#undef NEED_STRERROR +#define NEED_STRTOKEN +#define NEED_STRTOK +#undef NEED_INET_ADDR +#undef NEED_INET_NTOA +#undef NEED_INET_NETOF +#define GETTIMEOFDAY +#undef LRAND48 +#undef LINUX_ALPHA +#define GLIBC2_2 +#undef MALLOCH +#define NBLOCK_POSIX +#define POSIX_SIGNALS +#undef TIMES_2 +#define GETRUSAGE_2 +#endif diff --git a/net-irc/ultimate/files/ultimateircd.conf b/net-irc/ultimate/files/ultimateircd.conf new file mode 100644 index 000000000000..7c610df832f1 --- /dev/null +++ b/net-irc/ultimate/files/ultimateircd.conf @@ -0,0 +1,6 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header + +# user to run ptlinkircd as +PTLINKIRCD_USER="nobody" diff --git a/net-irc/ultimate/files/ultimateircd.rc b/net-irc/ultimate/files/ultimateircd.rc new file mode 100644 index 000000000000..7c610df832f1 --- /dev/null +++ b/net-irc/ultimate/files/ultimateircd.rc @@ -0,0 +1,6 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header + +# user to run ptlinkircd as +PTLINKIRCD_USER="nobody" diff --git a/net-irc/ultimate/metadata.xml b/net-irc/ultimate/metadata.xml new file mode 100644 index 000000000000..6ef15e900f17 --- /dev/null +++ b/net-irc/ultimate/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-irc</herd> +</pkgmetadata> diff --git a/net-irc/ultimate/ultimate-2.8.7.ebuild b/net-irc/ultimate/ultimate-2.8.7.ebuild new file mode 100644 index 000000000000..517a168faeec --- /dev/null +++ b/net-irc/ultimate/ultimate-2.8.7.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ultimate/ultimate-2.8.7.ebuild,v 1.1 2003/10/25 01:44:44 zul Exp $ + +MY_P="${P/ultimate-/Ultimate}" +DESCRIPTION="And IRCd server based on DALnet's DreamForge IRCd." +SRC_URI="mirror://sourceforge/ultimate/${MY_P}.tar.gz" +HOMEPAGE="http://www.shadow-realm.org" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="debug" + +DEPEND="virtual/glibc" +RDEPEND=">=sys-apps/sed-4" + +S="${WORKDIR}/${MY_P}" + +[ -z "${localhost}" ] && localhost="localhost" + +src_unpack() { + + einfo "To change the settings of your Ultimate ircd server please" + einfo "edit the ${S}/config/ircd.init file." + + einfo "To change the domain name of your server, edit the localhost in" + einfo "ultimage-${PV}.ebuild. Otherwise it will default to localhost." + + unpack ${A} ; cd ${S} + cp Makefile.dist Makefile + sed -i \ + -e "s:XCFLAGS=:XCFLAGS=${CFLAGS}:g" \ + -e "s:IRCDLIBS=:IRCDLIBS=-lcrypt -lresolv:g" \ + -e "s:IRCDDIR=/usr/local/lib/ircd:IRCDDIR=/usr/lib/ircd:g" \ + -e "s:MANDIR=/usr/local/man:MANDIR=/usr/share/man:g" \ + Makefile || die "sed Makefile failed" + + cp ${FILESDIR}/setup.h ${S}/include/setup.h + + # This is supposed to be generated by ./configure + echo "#define MYOSNAME \"`uname -a`\"" >> ${S}/include/settings.h + echo "#define DPATH \"/etc/ultimateircd\"" >> ${S}/include/settings.h + echo "#define SPATH \"${S}/usr/sbin/ircd\"" >> ${S}/include/settings.h + echo "#define NICKLEN 30" >> ${S}/include/settings.h + echo "#define LISTEN_SIZE 5" >> ${S}/include/settings.h + echo "#define MAXSENDQLENGTH 3000000" >> ${S}/include/settings.h + echo "#define BUFFERPOOL (6 * MAXSENDQLENGTH)" >> ${S}/include/settings.h + echo "#define MAXCONNECTIONS 1024" >> ${S}/include/settings.h + echo "#define NICKNAMEHISTORYLENGTH 500" >> ${S}/include/settings.h + echo "#define CRYPT_OPER_PASSWORD 1" >> ${S}/include/settings.h + echo "#undef CRYPT_LINK_PASSWORD" >> ${S}/include/settings.h + echo "#undef UNIXPORT" >> ${S}/include/settings.h + echo "#define NOSPOOF 1" >> ${S}/include/settings.h + echo "#define NOSPOOF_SEED01 0x08101979" >> ${S}/include/settings.h + echo "#define NOSPOOF_SEED02 0x97910180" >> ${S}/include/settings.h + echo "#define DOMAINNAME \"localhost\"" >> ${S}/include/settings.h + echo "#define GLIBC2_x" >> ${S}/include/settings.h + + epatch ${FILESDIR}/Ultimate-${PV}-gentoo.patch + + use debug && \ + sed -i \ + -e "s:#undef DEBUGMODE:#define DEBUGMODE:g" config.h +} + +src_compile() { + emake || die "Make failed" +} + +src_install() { + newbin src/ircd ultimate-ircd + newbin ${S}/makeconf ultimate-makeconf + + dodir /etc/ultimateircd + insinto /etc/ultimateircd + doins doc/example.conf + mv ${D}/etc/ultimateircd/example.conf ${D}/etc/ultimateircd/ircd.conf + + doins config/ircd.channels config/ircd.ini config/ircd.klines + doins config/ircd.quotes + + dodir /etc/ultimateircd/networks + insinto /etc/ultimateircd/networks + doins config/networks/*.network + + exeinto /etc/init.d + newexe ${FILESDIR}/ultimateircd.rc ultimateircd + + exeinto /etc/conf.d + newexec ${FILESDIR}/ultimateircd.conf ultimateircd + + dodoc crypt/crypter ircdcron/ircd.cron ircdcron/ircdchk +} + |