diff options
author | Robert Buchholz <rbu@gentoo.org> | 2009-11-16 14:41:04 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2009-11-16 14:41:04 +0000 |
commit | e46a3fb3b441f0d1cee7b325ffdfdf1d4ac1f8f8 (patch) | |
tree | 8727f59f37ac73cfdeff8163e5daa080d7f4a5c2 /net-irc | |
parent | Version bump. Thanks to Helmut Auer <helmut@helmutauer.de>. (diff) | |
download | historical-e46a3fb3b441f0d1cee7b325ffdfdf1d4ac1f8f8.tar.gz historical-e46a3fb3b441f0d1cee7b325ffdfdf1d4ac1f8f8.tar.bz2 historical-e46a3fb3b441f0d1cee7b325ffdfdf1d4ac1f8f8.zip |
Re-add old stable until the new one is stable
Package-Manager: portage-2.1.7.1/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/unrealircd/ChangeLog | 5 | ||||
-rw-r--r-- | net-irc/unrealircd/Manifest | 4 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild | 134 |
3 files changed, 141 insertions, 2 deletions
diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog index 02fc97a203d0..e1c05f55fcc1 100644 --- a/net-irc/unrealircd/ChangeLog +++ b/net-irc/unrealircd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-irc/unrealircd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.73 2009/11/14 01:34:34 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.74 2009/11/16 14:41:04 rbu Exp $ + + 16 Nov 2009; Robert Buchholz <rbu@gentoo.org> +unrealircd-3.2.7-r2.ebuild: + Re-add old stable until the new one is stable *unrealircd-3.2.8.1 (14 Nov 2009) diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest index 827617f669bc..3d341522a091 100644 --- a/net-irc/unrealircd/Manifest +++ b/net-irc/unrealircd/Manifest @@ -2,7 +2,9 @@ AUX unrealircd-system-cares.patch 4850 RMD160 6bd9456bda2b1dc233cf7ad97c60c0ee11 AUX unrealircd-system-tre.patch 2265 RMD160 16324b6639585d3c62b763f9f0f36c233ed0bbf0 SHA1 df61297ad7dd136884ff78644bd2c98b2c794578 SHA256 2a5e958a19e6b85df1a2f30cc56443f8080a0b7f2c01e6765cfe6b758c16615d 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 DIST Unreal3.2.8.1.tar.gz 2864770 RMD160 60f86a8efa9c8bf1627f30b04b45244ff4622939 SHA1 086708695ab75041adb1a61aaa1a86141f2548ea SHA256 45264abc6c4aaaa132ea735fb90aaf43185950825f0b947d6e0f6210c6e3e7c8 +EBUILD unrealircd-3.2.7-r2.ebuild 3621 RMD160 fead4400e6412b2d4c8155545f44e2320e26d8be SHA1 0ba69720dab1fd14b7666173d4135a20a68311aa SHA256 0d5d6e32237e98e40d52607519df0e375c173571a8ff1da7914b66c414a72e75 EBUILD unrealircd-3.2.8.1.ebuild 4816 RMD160 337ffe0017259a539c87a0007b3cd959110f8c55 SHA1 a30eae19e2141954ad2f2eb7e3acb9c4f51eced5 SHA256 d82d48a356ec0005d846678909c5527bb667309f0c6a9820ed32ff35e3949e97 -MISC ChangeLog 10438 RMD160 25c778263f99a8dcfcd43ad89494553d940ed1ed SHA1 f7d4666104752518d22a0933ecbd738b59d43f6e SHA256 8b13553527f2324074790958429d8a1abc169d742764705d6d3e8269f5d343b5 +MISC ChangeLog 10558 RMD160 70649485a486be02ea22004aaff69fd7073f13c7 SHA1 d7adee806c450a6275bd982caf87b44e4f415e32 SHA256 e768db3151a9c4b16267c4d007152a25426169eb79dc733a8c2dad5aac1f4962 MISC metadata.xml 891 RMD160 db526c6aac78e08571a7a1ed8ede3b1a6dff0d77 SHA1 c1be63bf335014df1672aa63033d5094adf68a6e SHA256 0da56c8f8ea49e8c91c1281349e1fae167c897c0530959c3026410cd51976ab2 diff --git a/net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild b/net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild new file mode 100644 index 000000000000..bffa6b3682cf --- /dev/null +++ b/net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2009 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.8 2009/11/16 14:41:04 rbu Exp $ + +EAPI="2" + +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 ~mips 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[ares,-ipv6] )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +S="${WORKDIR}/Unreal${PV}" + +pkg_setup() { + enewuser unrealircd +} + +src_prepare() { + 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_configure() { + 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 +} + +src_compile() { + 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}/" + elog " /usr/share/doc/${PF}/" + elog + elog "You can also use /etc/init.d/unrealircd to start at boot" + elog +} |