From 1e8ffd66323d3c6a18eacbf6f63bd99723729f6a Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sat, 18 Feb 2006 20:58:21 +0000 Subject: Revision bump to 3.2.4, thanks to Todd Merrill for reporting. Fixes bug #123173 (Portage version: 2.1_pre4-r1) --- net-irc/unrealircd/ChangeLog | 10 +- net-irc/unrealircd/Manifest | 34 ++++-- net-irc/unrealircd/files/digest-unrealircd-3.2.4 | 3 + net-irc/unrealircd/unrealircd-3.2.4.ebuild | 131 +++++++++++++++++++++++ 4 files changed, 165 insertions(+), 13 deletions(-) create mode 100644 net-irc/unrealircd/files/digest-unrealircd-3.2.4 create mode 100644 net-irc/unrealircd/unrealircd-3.2.4.ebuild (limited to 'net-irc') diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog index 44dac97ae06c..65402530dd0f 100644 --- a/net-irc/unrealircd/ChangeLog +++ b/net-irc/unrealircd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-irc/unrealircd -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.37 2005/10/14 14:44:25 gustavoz Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.38 2006/02/18 20:58:21 antarus Exp $ + +*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: diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest index 665ee83dd9f1..652ff6cc0959 100644 --- a/net-irc/unrealircd/Manifest +++ b/net-irc/unrealircd/Manifest @@ -1,18 +1,30 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 1ae96562a4da6eb96a325484356f1e75 ChangeLog 5579 +MD5 fa9ee0e9aaaf6a88ffc53d65249ab338 ChangeLog 5798 +RMD160 0fe196b2bd5e1197fcd7a5db1a0b4e3d32399ca7 ChangeLog 5798 +SHA256 33b9bfd11cfea9406135366634eeeb655e5830828aeca313ebeabe9738889d14 ChangeLog 5798 MD5 0c44732c1496b1645f59af5da99b3bb4 files/digest-unrealircd-3.2.3 64 +RMD160 0ae1c4556b23baf43c7f57bfc4041a5c97f0c3c9 files/digest-unrealircd-3.2.3 64 +SHA256 e35ae0420e5ec9c09c7c9dd869ad5474e809c16b0531db72a1bb02c3274c2eed files/digest-unrealircd-3.2.3 64 MD5 0c44732c1496b1645f59af5da99b3bb4 files/digest-unrealircd-3.2.3-r1 64 +RMD160 0ae1c4556b23baf43c7f57bfc4041a5c97f0c3c9 files/digest-unrealircd-3.2.3-r1 64 +SHA256 e35ae0420e5ec9c09c7c9dd869ad5474e809c16b0531db72a1bb02c3274c2eed files/digest-unrealircd-3.2.3-r1 64 +MD5 409bc3ac8261dbf5813d48911f17ab26 files/digest-unrealircd-3.2.4 238 +RMD160 f5b119a0795771a38bd84d4004482708e6336516 files/digest-unrealircd-3.2.4 238 +SHA256 715a75cbf70c7c79d5dcd69dbdad8c55531754b4e937e64893948e8f86e5b360 files/digest-unrealircd-3.2.4 238 MD5 d9a803f03c66dbd732f2ffb356cb589a files/unrealircd.confd 499 +RMD160 666439c6e992d3314f8694ba58e8f3e018421f1c files/unrealircd.confd 499 +SHA256 ae6ce779fae68c1380a7d37950c5ef3b695e434bb435dcdc0f6d3d2282f72582 files/unrealircd.confd 499 MD5 9758629d4e608b7a45c17c340c9b4f13 files/unrealircd.rc 640 +RMD160 186125558866976380eddae397aba4534a088732 files/unrealircd.rc 640 +SHA256 a1ac6330e573dc5429153de98c9a8619a92d7ae3502a06e47f392dcaf90f2b07 files/unrealircd.rc 640 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 +RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160 +SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 metadata.xml 160 MD5 4482a3a47adb97b1a1722aff18e91a90 unrealircd-3.2.3-r1.ebuild 3909 +RMD160 84f2d9dabcd53f8dc648c3e96455874b1a7467e2 unrealircd-3.2.3-r1.ebuild 3909 +SHA256 1a34e6c84221c021472bb7329c5ca92ccf57c8e7881ed2b40513d6b4386f4381 unrealircd-3.2.3-r1.ebuild 3909 MD5 e383b823dba7444bc7987c02eea26996 unrealircd-3.2.3.ebuild 3416 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) - -iD8DBQFDT8RrKRy60XGEcJIRAs7QAJ9oCiyNYfDBqy13TbZy93rfbIoQEwCfeE4J -OrcYIej4LMbk7F8mR24GoiE= -=REaE ------END PGP SIGNATURE----- +RMD160 ed6ae2df8403d3834a4cf7a1acf2d8b23337091d unrealircd-3.2.3.ebuild 3416 +SHA256 94f87c29cd574dafea983f8a625a6d4f227a53638fb38c6996af787818ce25ba unrealircd-3.2.3.ebuild 3416 +MD5 51532b0f4fefe845ab4f90aea61b7e9b unrealircd-3.2.4.ebuild 3810 +RMD160 d76d39305afdb695f32873fea4ab2c020d29a9c0 unrealircd-3.2.4.ebuild 3810 +SHA256 769ef0c6c99d81638cea2c7a31ee520dddaf239635a22bc82b923d38f0967096 unrealircd-3.2.4.ebuild 3810 diff --git a/net-irc/unrealircd/files/digest-unrealircd-3.2.4 b/net-irc/unrealircd/files/digest-unrealircd-3.2.4 new file mode 100644 index 000000000000..ca785b839279 --- /dev/null +++ b/net-irc/unrealircd/files/digest-unrealircd-3.2.4 @@ -0,0 +1,3 @@ +MD5 007a85d516207d10cebf70fe73326c96 Unreal3.2.4.tar.gz 2503560 +RMD160 4663fdf389caf5f461399b6ff4281ad022fa0aee Unreal3.2.4.tar.gz 2503560 +SHA256 e723ec261cc7c93084752deeb108261a6971caca3f23d2e767d6bc630256ce1e Unreal3.2.4.tar.gz 2503560 diff --git a/net-irc/unrealircd/unrealircd-3.2.4.ebuild b/net-irc/unrealircd/unrealircd-3.2.4.ebuild new file mode 100644 index 000000000000..fae20ff5a3c9 --- /dev/null +++ b/net-irc/unrealircd/unrealircd-3.2.4.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.4.ebuild,v 1.1 2006/02/18 20:58:21 antarus Exp $ + +inherit eutils ssl-cert versionator + +MY_P=Unreal${PV} + +DESCRIPTION="aimed to be an advanced (not easy) IRCd" +HOMEPAGE="http://www.unrealircd.com/" +SRC_URI="http://unrealircd.funny4chat.de/downloads/${MY_P}.tar.gz + http://www1.dnwt.net/unreal/${MY_P}.tar.gz + http://www.randumb.org/~unreal/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" +IUSE="hub ipv6 ssl zlib curl" + +RDEPEND="ssl? ( dev-libs/openssl ) + zlib? ( sys-libs/zlib ) + curl? ( net-misc/curl )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +S="${WORKDIR}/Unreal$(get_version_component_range 1-2)" + +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() { + 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 \ + --enable-prefixaq \ + $(use_enable ipv6 inet6) \ + $(use_enable ssl) \ + $(use_enable zlib ziplinks) \ + $(use_enable hub) \ + $(use_enable curl libcurl '/usr') \ + || 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 || die "keepdir failed" + + newbin src/ircd unrealircd || die "newbin failed" + + exeinto /usr/lib/unrealircd/modules + doexe src/modules/*.so || die "doexe failed" + + dodir /etc/unrealircd || die "dodir failed" + dosym /var/lib/unrealircd /etc/unrealircd/tmp || die "dosym failed" + + insinto /etc/unrealircd + doins {badwords.*,help,spamfilter,dccallow}.conf || die "doins failed" + newins doc/example.conf unrealircd.conf || die "newins failed" + + use ssl \ + && docert server.cert \ + && dosym server.cert.key /etc/unrealircd/server.key.pem + + insinto /etc/unrealircd/aliases + doins aliases/*.conf || die "doins failed" + insinto /etc/unrealircd/networks + doins networks/*.network || die "doins failed" + + 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 networks/makenet \ + ircdcron/{ircd.cron,ircdchk} \ + || die "dodoc failed" + dohtml doc/*.html || die "dohtml failed" + + newinitd ${FILESDIR}/unrealircd.rc unrealircd || die "newinitd failed" + newconfd ${FILESDIR}/unrealircd.confd unrealircd || die "newconfd failed" + + fperms 700 /etc/unrealircd + chown -R unrealircd ${D}/{etc,var/{lib,log,run}}/unrealircd +} + +pkg_postinst() { + 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 +} -- cgit v1.2.3-65-gdbad