ChangeLog

# ChangeLog for net-irc/unrealircd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.68 2007/12/22 18:18:33 ulm Exp $

22 Dec 2007; Ulrich Mueller -unrealircd-3.2.7.ebuild:
Remove old revision wrt bug #201682.

22 Dec 2007; Tobias Scherbaum
unrealircd-3.2.7-r2.ebuild:
ppc stable, bug #201682

12 Dec 2007; Raúl Porcel unrealircd-3.2.7-r2.ebuild:
sparc/x86 stable wrt #201682

*unrealircd-3.2.7-r2 (12 Dec 2007)

12 Dec 2007; Ulrich Mueller -unrealircd-3.2.7-r1.ebuild,
+unrealircd-3.2.7-r2.ebuild:
Set correct owner for the installed certificates, fixes bug #201996.
Thanks to Attila Tóth and Stefan Becker
for reporting and providing a patch.

10 Dec 2007; Raúl Porcel unrealircd-3.2.7-r1.ebuild:
sparc/x86 stable wrt #201682

08 Oct 2007; Raúl Porcel
-unrealircd-3.2.6-r1.ebuild:
old

06 Oct 2007; Tobias Scherbaum
unrealircd-3.2.7.ebuild:
ppc stable, bug #193233

25 Sep 2007; Raúl Porcel unrealircd-3.2.7.ebuild:
sparc stable wrt #193233

20 Sep 2007; Raúl Porcel unrealircd-3.2.7.ebuild:
x86 stable wrt #193233

*unrealircd-3.2.7 (20 Aug 2007)

20 Aug 2007; Markus Ullmann +unrealircd-3.2.7.ebuild:
Version bump wrt notify in bug #189199

20 Aug 2007; Markus Ullmann unrealircd-3.2.6-r1.ebuild:
Fix SRC_URI

*unrealircd-3.2.6-r1 (14 May 2007)

14 May 2007; Markus Ullmann -unrealircd-3.2.6.ebuild,
+unrealircd-3.2.6-r1.ebuild:
revbump for new useflag to support displaying channel modes during compilation

06 May 2007; Marius Mauch unrealircd-3.2.6.ebuild:
Replacing einfo with elog

08 Apr 2007; Raúl Porcel -unrealircd-3.2.5.ebuild:
drop old

06 Apr 2007; Tobias Scherbaum
unrealircd-3.2.6.ebuild:
ppc stable, bug #171421

24 Mar 2007; Sven Wegener unrealircd-3.2.6.ebuild:
Add local USE flag for chanadmin and chanowner prefix support.

19 Mar 2007; Gustavo Zacarias
unrealircd-3.2.6.ebuild:
Stable on sparc wrt #171421

19 Mar 2007; Raúl Porcel unrealircd-3.2.6.ebuild:
x86 stable wrt bug 171421

*unrealircd-3.2.6 (18 Feb 2007)

18 Feb 2007; Raúl Porcel +unrealircd-3.2.6.ebuild:
Version bump wrt bug 164991

19 Nov 2006; Sven Wegener unrealircd-3.2.5.ebuild:
Update SRC_URI and add mirror://gentoo/ to prevent future breakage.

21 Oct 2006; Timothy Redaelli unrealircd-3.2.5.ebuild:
Applied patch for bug 152212 to make it compile on g/fbsd (authorized by
Markus Ullmann) Added ~x86-fbsd keyword

20 Oct 2006; Gustavo Zacarias
unrealircd-3.2.5.ebuild:
Stable on sparc

*unrealircd-3.2.5 (27 Jun 2006)

27 Jun 2006; Markus Ullmann +unrealircd-3.2.5.ebuild:
Version bump wrt bug #137266, thanks to Todd Merrill
for testing the new version

09 May 2006; Sven Wegener -unrealircd-3.2.3.ebuild,
-unrealircd-3.2.3-r1.ebuild:
Cleanup.

03 May 2006; Tobias Scherbaum
unrealircd-3.2.4.ebuild:
ppc stable, bug #132012

03 May 2006; Joshua Jackson unrealircd-3.2.4.ebuild:
Stable on x86; bug #132012

27 Apr 2006; Alec Warner
files/digest-unrealircd-3.2.3, files/digest-unrealircd-3.2.3-r1, Manifest:
Fixing SHA256 digest, pass four

18 Mar 2006; Sven Wegener unrealircd-3.2.4.ebuild:
Revert back to the myconf solution, the configure script is broken. This
should fix bug #125705.

*unrealircd-3.2.4 (17 Feb 2006)

17 Feb 2006; Alec Warner +unrealircd-3.2.4.ebuild:
Revision bump to 3.2.4, thanks to Todd Merrill
for reporting. Fixes bug #123173

14 Oct 2005; Gustavo Zacarias
unrealircd-3.2.3-r1.ebuild:
Keyworded ~sparc wrt #107146

15 Aug 2005; Luis Medinas
unrealircd-3.2.3-r1.ebuild:
Added ~amd64 keywords.

14 Aug 2005; Sven Wegener
unrealircd-3.2.3-r1.ebuild:
Make ebuild multilib friendly.

15 Aug 2005; Luis Medinas
unrealircd-3.2.3-r1.ebuild:
Added ~amd64 keywords.

29 Jun 2005; Sven Wegener
unrealircd-3.2.3-r1.ebuild:
Updated the curl check to also check for the ipv6 USE flag.

*unrealircd-3.2.3-r1 (03 May 2005)

03 May 2005; Sven Wegener
+unrealircd-3.2.3-r1.ebuild:
Revision bump. Added support for the curl USE flag that allows
network-based configuration includes. Closes bug #86307.

01 May 2005; Michael Hanselmann
unrealircd-3.2.3.ebuild:
Stable on ppc.

26 Apr 2005; Sven Wegener unrealircd-3.2.3.ebuild:
Set ownership of configuration files the right way. Fixes bug #90075.

22 Apr 2005; Sven Wegener unrealircd-3.2.3.ebuild:
Marked stable on x86.

*unrealircd-3.2.3 (14 Mar 2005)

14 Mar 2005; Sven Wegener +unrealircd-3.2.3.ebuild:
Version bump.

18 Jan 2005; Sven Wegener
-unrealircd-3.2.1-r1.ebuild, -unrealircd-3.2.2.ebuild:
Removed old vulnerable ebuilds.

*unrealircd-3.2.2b (18 Jan 2005)

18 Jan 2005; Sven Wegener +unrealircd-3.2.2b.ebuild:
Version bump for security bug #78524. Marked stable on x86.

*unrealircd-3.2.2 (05 Dec 2004)

05 Dec 2004; Sven Wegener
unrealircd-3.2.1-r1.ebuild, +unrealircd-3.2.2.ebuild:
Version bump.

17 Oct 2004; Sven Wegener
-files/3.1.5.1-Config.patch, -files/3.1.6-Config.patch,
-unrealircd-3.1.5.1.ebuild, -unrealircd-3.1.6.ebuild:
Removed old ebuilds and files.

09 Oct 2004; Sven Wegener files/unrealircd.rc:
Modified to 'use net' not 'need net' in init script. Closes bug #66467.

03 Oct 2004; Sven Wegener
unrealircd-3.2.1-r1.ebuild:
Marked stable on x86.

15 Aug 2004; Sven Wegener files/unrealircd.rc,
unrealircd-3.2.1-r1.ebuild, -unrealircd-3.2.1.ebuild:
Updated init script with reload support.

14 Aug 2004; Sven Wegener unrealircd-3.2.1-r1.ebuild:
Modified the ebuild to install configuration files for aliases and networks
and always enable the channel owner and admin prefixes.

14 Aug 2004; Sven Wegener unrealircd-3.2.1-r1.ebuild:
Added info to pkg_postinst().

*unrealircd-3.2.1-r1 (14 Aug 2004)

14 Aug 2004; Sven Wegener +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 unrealircd-3.2.1.ebuild:
Fixed wrong path in ircdchk cron script.

24 Jul 2004; Sven Wegener unrealircd-3.2.1.ebuild:
Configuration files need to be owned by user unrealircd.

24 Jul 2004; Sven Wegener files/unrealircd.rc,
unrealircd-3.2.1.ebuild:
Fixed typo in init script and modified ebuild to install cron example scripts.

*unrealircd-3.2.1 (24 Jul 2004)

24 Jul 2004; Sven Wegener -files/mkunrealircd-cert,
files/unrealircd.confd, files/unrealircd.rc, +unrealircd-3.2.1.ebuild,
-unrealircd-3.2_rc2.ebuild:
Version bump. Closes bug #48965 and bug #41919. Switched from
mkunrealircd-cert to ssl-cert.eclass.

27 Apr 2004; Aron Griffis unrealircd-3.1.5.1.ebuild,
unrealircd-3.1.6.ebuild, unrealircd-3.2_rc2.ebuild:
Add inherit eutils

23 Apr 2004; David Holm unrealircd-3.2_rc2.ebuild:
Added to ~ppc.

*unrealircd-3.2_rc2 (22 Apr 2004)

22 Apr 2004; Chuck Short unrealircd-3.2_rc1.ebuild,
unrealircd-3.2_rc2.ebuild:
RemoRemoved 3.2rc1 in place for rc1.

22 Apr 2004; Chuck Short unrealircd-3.2_rc1.ebuild:
Updated ebuild.
Closes #42396.

13 Apr 2004; Chuck Short files/mkunrealircd-cert:
Fix mkunrealircd-cert. Closes #42396.

06 Mar 2004; Chuck Short files/mkunrealircd-cert:
Updated mkunrealircd-cert script.

05 Mar 2004; Chuck Short unrealircd-3.2_rc1.ebuild:
DPATH and SPATH is hardcoded with the PORTDIR_TMP. Closes #42396.

04 Mar 2004; Chuck Short unrealircd-3.2_rc1.ebuild:
Ebuild improvements. Closes #42396.

*unrealircd-3.2_rc1 (20 Feb 2004)

20 Feb 2004; Chuck Short unrealircd-3.1.5.1.ebuild,
unrealircd-3.1.6.ebuild, unrealircd-3.2_rc1.ebuild:
Updated headers, version bump. Closes #41919.

*unrealircd-3.1.6 (02 Jul 2003)

02 Jul 2003; Mike Frysinger :
Version bump + patches to fix compat with newer glibc #23825.

*unrealircd-3.1.5.1 (31 Jan 2003)

02 Jul 2003; Mike Frysinger :
Patches to fix compat with newer glibc #23825.

25 Mar 2003; Seemant Kulleen unrealircd-3.1.5.1.ebuild:
openssl USE is actually ssl

31 Jan 2003; Mike Frysinger :
Initial import. Ebuild submitted by me.

Manifest

AUX unrealircd.confd 499 RMD160 666439c6e992d3314f8694ba58e8f3e018421f1c SHA1 5cb49d7e9a79c7f8e0b2182dff47811a2f3fb885 SHA256 ae6ce779fae68c1380a7d37950c5ef3b695e434bb435dcdc0f6d3d2282f72582
AUX unrealircd.rc 640 RMD160 186125558866976380eddae397aba4534a088732 SHA1 815d6950ddb79ca86fa8c887a4386ae9ddd58abe SHA256 a1ac6330e573dc5429153de98c9a8619a92d7ae3502a06e47f392dcaf90f2b07
DIST Unreal3.2.7.tar.gz 2801622 RMD160 49e00dbe4fdda672b20be16ceb116971f514d62b SHA1 a6c83c186008c429bc5a476fc0b9e3b174092efb SHA256 f80078da5e9efa1487ab22957aeb295f94c2d4efd144f825f1efc5ee8df72d46
EBUILD unrealircd-3.2.7-r2.ebuild 4012 RMD160 0f95b2bc6a9bff5d1dd39aff2877fcacf6339003 SHA1 b5adb8a4360d79840e8cc4393d6113ca16e092e7 SHA256 80365ec42525cb5eaa441157e3051c738368a4fa1cccd64eaac3f48931c9a04f
MISC ChangeLog 9579 RMD160 a6200e6268a3be4a07f65cf82842edfef3305549 SHA1 2d96f7558a89c4d0437bf7f2cd04f25876ed3ad6 SHA256 6ea9b8ee5c46098d592736e3849e97f23767bb216c28e10745b15dd8b613125e
MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2

files

metadata.xml




net-irc

unrealircd-3.2.7-r2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild,v 1.3 2007/12/22 16:07:53 dertobi123 Exp $

inherit eutils ssl-cert versionator multilib

MY_P=Unreal${PV}

DESCRIPTION="aimed to be an advanced (not easy) IRCd"
HOMEPAGE="http://www.unrealircd.com/"
SRC_URI="http://unreal.brueggisite.de/${MY_P}.tar.gz
http://www.blurryfox.com/unreal/${MY_P}.tar.gz
mirror://gentoo/${MY_P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ppc sparc x86 ~x86-fbsd"
IUSE="hub ipv6 ssl zlib curl prefixaq showlistmodes"

RDEPEND="ssl? ( dev-libs/openssl )
zlib? ( sys-libs/zlib )
curl? ( net-misc/curl )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"

S="${WORKDIR}/Unreal${PV}"

pkg_setup() {
if use curl && ( ! built_with_use net-misc/curl ares || built_with_use net-misc/curl ipv6 )
then
eerror "You need net-misc/curl compiled with the ares USE flag to be able to use"
eerror "net-irc/unrealircd with the curl USE flag. Please note that ares support"
eerror "for net-misc/curl is incompatible with the ipv6 USE flag."
die "need net-misc/curl with ares support"
fi

enewuser unrealircd
}

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() {
local myconf=""
use curl && myconf="${myconf} --enable-libcurl=/usr"
use ipv6 && myconf="${myconf} --enable-inet6"
use zlib && myconf="${myconf} --enable-ziplinks"
use hub && myconf="${myconf} --enable-hub"
use ssl && myconf="${myconf} --enable-ssl"
use prefixaq && myconf="${myconf} --enable-prefixaq"
use showlistmodes && myconf="${myconf} --with-showlistmodes"

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 \
${myconf} \
|| die "econf failed"

sed -i \
-e "s:${D}::" \
include/setup.h \
ircdcron/ircdchk

emake MAKE=make IRCDDIR=/etc/unrealircd || die "emake failed"
}

src_install() {
keepdir /var/{lib,log,run}/unrealircd

newbin src/ircd unrealircd

exeinto /usr/$(get_libdir)/unrealircd/modules
doexe src/modules/*.so

dodir /etc/unrealircd
dosym /var/lib/unrealircd /etc/unrealircd/tmp

insinto /etc/unrealircd
doins {badwords.*,help,spamfilter,dccallow}.conf
newins doc/example.conf unrealircd.conf

insinto /etc/unrealircd/aliases
doins aliases/*.conf
insinto /etc/unrealircd/networks
doins networks/*.network

sed -i \
-e s:src/modules:/usr/$(get_libdir)/unrealircd/modules: \
-e s:ircd\\.log:/var/log/unrealircd/ircd.log: \
"${D}"/etc/unrealircd/unrealircd.conf

dodoc \
Changes Donation Unreal.nfo networks/makenet \
ircdcron/{ircd.cron,ircdchk} \
|| die "dodoc failed"
dohtml doc/*.html

newinitd "${FILESDIR}"/unrealircd.rc unrealircd
newconfd "${FILESDIR}"/unrealircd.confd unrealircd

fperms 700 /etc/unrealircd
chown -R unrealircd "${D}"/{etc,var/{lib,log,run}}/unrealircd
}

pkg_postinst() {
# Move docert call from scr_install() to install_cert in pkg_postinst for
# bug #201682
use ssl && \
if [[ ! -f "${ROOT}"/etc/unrealircd/server.cert.key ]]; then
install_cert /etc/unrealircd/server.cert
chown unrealircd "${ROOT}"/etc/unrealircd/server.cert.*
ln -snf server.cert.key "${ROOT}"/etc/unrealircd/server.key.pem
fi

elog
elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf"
elog
elog "You can find example cron scripts here:"
elog " /usr/share/doc/${PF}/ircd.cron.gz"
elog " /usr/share/doc/${PF}/ircdchk.gz"
elog
elog "You can also use /etc/init.d/unrealircd to start at boot"
elog
}