summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-08-14 18:30:20 +0000
committerSven Wegener <swegener@gentoo.org>2004-08-14 18:30:20 +0000
commitbda2d4bd069046b0fdd79910f00f08d377f58d3a (patch)
tree949bddca81453ef37eab91ce2b95c75f7202eeb8 /net-irc/unrealircd
parentnet-irc/unrealircd:leaf -> net-irc/unrealircd:hub (diff)
downloadgentoo-2-bda2d4bd069046b0fdd79910f00f08d377f58d3a.tar.gz
gentoo-2-bda2d4bd069046b0fdd79910f00f08d377f58d3a.tar.bz2
gentoo-2-bda2d4bd069046b0fdd79910f00f08d377f58d3a.zip
Revision bump. Made the hub support optional and added support for the ipv6 USE flag.
Diffstat (limited to 'net-irc/unrealircd')
-rw-r--r--net-irc/unrealircd/ChangeLog8
-rw-r--r--net-irc/unrealircd/Manifest14
-rw-r--r--net-irc/unrealircd/files/digest-unrealircd-3.2.1-r11
-rw-r--r--net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild115
4 files changed, 126 insertions, 12 deletions
diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog
index 8eadcfc537b6..1178ae4814eb 100644
--- a/net-irc/unrealircd/ChangeLog
+++ b/net-irc/unrealircd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/unrealircd
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.18 2004/07/25 02:45:33 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.19 2004/08/14 18:30:20 swegener Exp $
+
+*unrealircd-3.2.1-r1 (14 Aug 2004)
+
+ 14 Aug 2004; Sven Wegener <swegener@gentoo.org> +unrealircd-3.2.1-r1.ebuild:
+ Revision bump. Made the hub support optional and added support for the ipv6
+ USE flag.
25 Jul 2004; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.1.ebuild:
Fixed wrong path in ircdchk cron script.
diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest
index fbc220030fae..862712f00bf1 100644
--- a/net-irc/unrealircd/Manifest
+++ b/net-irc/unrealircd/Manifest
@@ -1,22 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 5969c0241106ace61a9032836b64f514 ChangeLog 2655
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 bd2b20e66682f4a143eb7279be88c70d unrealircd-3.1.5.1.ebuild 1962
MD5 f9a856e5a3fd5dee5a9b7fe176de34e1 unrealircd-3.1.6.ebuild 1966
MD5 c3931db83b5b4683e0352edf31b05d36 unrealircd-3.2.1.ebuild 2799
+MD5 dfa3add1d3cda04ce2e1995d72ade75f unrealircd-3.2.1-r1.ebuild 2844
MD5 5470c8e18506b99b25d63039b6b37f3a files/3.1.5.1-Config.patch 554
MD5 5470c8e18506b99b25d63039b6b37f3a files/3.1.6-Config.patch 554
MD5 4aacbe2a257a52f6adf3628142d5fa22 files/digest-unrealircd-3.1.5.1 71
MD5 0e5e4e0c025911074b2673b9a040aa57 files/digest-unrealircd-3.1.6 68
+MD5 973bf222cdc1696d8ff91b30c1198fba files/digest-unrealircd-3.2.1 64
MD5 d9a803f03c66dbd732f2ffb356cb589a files/unrealircd.confd 499
MD5 2115655eef643d81fccd91cc549faab4 files/unrealircd.rc 528
-MD5 973bf222cdc1696d8ff91b30c1198fba files/digest-unrealircd-3.2.1 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFBAx8WAXomK8S72HoRAqnzAJ9l2jqmBDZmnQzBV2g3YvNrXM0RYwCeNDsu
-NEgXP7a8LPjLBAnDZHKSCRE=
-=jKz5
------END PGP SIGNATURE-----
+MD5 973bf222cdc1696d8ff91b30c1198fba files/digest-unrealircd-3.2.1-r1 64
diff --git a/net-irc/unrealircd/files/digest-unrealircd-3.2.1-r1 b/net-irc/unrealircd/files/digest-unrealircd-3.2.1-r1
new file mode 100644
index 000000000000..97de2ae29e96
--- /dev/null
+++ b/net-irc/unrealircd/files/digest-unrealircd-3.2.1-r1
@@ -0,0 +1 @@
+MD5 ebe56fd42fc229681f527932eaa173cc Unreal3.2.1.tar.gz 1614434
diff --git a/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild b/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild
new file mode 100644
index 000000000000..81dd771b3687
--- /dev/null
+++ b/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.1-r1.ebuild,v 1.1 2004/08/14 18:30:20 swegener Exp $
+
+inherit eutils ssl-cert
+
+MY_P=Unreal${PV}
+
+DESCRIPTION="aimed to be an advanced (not easy) IRCd"
+HOMEPAGE="http://www.unrealircd.com/"
+SRC_URI="http://www.gower.net/unrealircd/${MY_P}.tar.gz
+ ftp://unreal.secure-tech.net/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE="hub ipv6 ssl zlib"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/Unreal3.2
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e "s:ircd\.pid:/var/run/unrealircd/ircd.pid:" \
+ -e "s:ircd\.log:/var/log/unrealircd/ircd.log:" \
+ -e "s:debug\.log:/var/log/unrealircd/debug.log:" \
+ -e "s:ircd\.tune:/var/lib/unrealircd/ircd.tune:" \
+ include/config.h
+}
+
+src_compile() {
+ econf \
+ --with-listen=5 \
+ --with-dpath=${D}/etc/unrealircd \
+ --with-spath=/usr/bin/unrealircd \
+ --with-nick-history=2000 \
+ --with-sendq=3000000 \
+ --with-bufferpool=18 \
+ --with-hostname=$(hostname -f) \
+ --with-permissions=0600 \
+ --with-fd-setsize=1024 \
+ --enable-dynamic-linking \
+ $(use_enable zlib ziplinks) \
+ $(use_enable ssl) \
+ $(use_enable hub) \
+ $(use_enable ipv6 inet6) \
+ || die "econf failed"
+
+ sed -i \
+ -e "s:${D}::" \
+ include/setup.h \
+ ircdcron/ircdchk
+
+ emake IRCDDIR=/etc/unrealircd || die "emake failed"
+}
+
+src_install() {
+ keepdir /var/{lib,log,run}/unrealircd
+
+ newbin src/ircd unrealircd
+
+ exeinto /usr/lib/unrealircd/modules
+ doexe src/modules/*.so
+
+ dodir /etc/unrealircd
+ dosym /var/lib/unrealircd /etc/unrealircd/tmp
+
+ insinto /etc/unrealircd
+ doins badwords.*.conf help.conf spamfilter.conf
+ newins doc/example.conf unrealircd.conf
+
+ use ssl \
+ && docert server.cert \
+ && dosym server.cert.key /etc/unrealircd/server.key.pem
+
+ sed -i \
+ -e s:src/modules:/usr/lib/unrealircd/modules: \
+ -e s:ircd\\.log:/var/log/unrealircd/ircd.log: \
+ ${D}/etc/unrealircd/unrealircd.conf
+
+ dodoc Changes Donation Unreal.nfo ircdcron/{ircd.cron,ircdchk}
+ dohtml doc/*.html
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/unrealircd.rc unrealircd
+ insinto /etc/conf.d
+ newins ${FILESDIR}/unrealircd.confd unrealircd
+
+ fperms 700 /etc/unrealircd
+}
+
+pkg_postinst() {
+ enewuser unrealircd
+ chown unrealircd \
+ ${ROOT}/{etc,var/{lib,log,run}}/unrealircd \
+ ${ROOT}/etc/unrealircd/server.cert.{key,pem} \
+ ${ROOT}/etc/unrealircd/*.conf
+
+ einfo
+ einfo "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf"
+ einfo
+ einfo "You can find example cron scripts here:"
+ einfo " /usr/share/doc/${PF}/ircd.cron.gz"
+ einfo " /usr/share/doc/${PF}/ircdchk.gz"
+ einfo
+ einfo "You can also use /etc/init.d/unrealircd to start at boot"
+ einfo
+}