Version bump wrt bug 164991
authorRaúl Porcel <armin76@gentoo.org>
Sun, 18 Feb 2007 21:27:58 +0000 (21:27 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Sun, 18 Feb 2007 21:27:58 +0000 (21:27 +0000)
Package-Manager: portage-2.1.2-r9

net-irc/unrealircd/ChangeLog
net-irc/unrealircd/Manifest
net-irc/unrealircd/files/digest-unrealircd-3.2.6 [new file with mode: 0644]
net-irc/unrealircd/unrealircd-3.2.6.ebuild [new file with mode: 0644]

index 47753d445515534cf24cb6c5f7be1a1c43346b79..ee9696d766f66fc03e48c81b5e5cb04c345a10fc 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-irc/unrealircd
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.49 2006/11/19 01:10:41 swegener Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.50 2007/02/18 21:27:58 armin76 Exp $
+
+*unrealircd-3.2.6 (18 Feb 2007)
+
+  18 Feb 2007; Raúl Porcel <armin76@gentoo.org> +unrealircd-3.2.6.ebuild:
+  Version bump wrt bug 164991
 
   19 Nov 2006; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.5.ebuild:
   Update SRC_URI and add mirror://gentoo/ to prevent future breakage.
index 039edfff04ee2b56540eee92cfb8fc355ddbea36..029e37a14698644c692270d6cccd25dd5355e690 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX unrealircd.confd 499 RMD160 666439c6e992d3314f8694ba58e8f3e018421f1c SHA1 5cb49d7e9a79c7f8e0b2182dff47811a2f3fb885 SHA256 ae6ce779fae68c1380a7d37950c5ef3b695e434bb435dcdc0f6d3d2282f72582
 MD5 d9a803f03c66dbd732f2ffb356cb589a files/unrealircd.confd 499
 RMD160 666439c6e992d3314f8694ba58e8f3e018421f1c files/unrealircd.confd 499
@@ -10,14 +7,19 @@ MD5 9758629d4e608b7a45c17c340c9b4f13 files/unrealircd.rc 640
 RMD160 186125558866976380eddae397aba4534a088732 files/unrealircd.rc 640
 SHA256 a1ac6330e573dc5429153de98c9a8619a92d7ae3502a06e47f392dcaf90f2b07 files/unrealircd.rc 640
 DIST Unreal3.2.5.tar.gz 2546977 RMD160 ecf8e98267214151f26ea5fb5aec61e8c14d34de SHA1 4f7d37c134b3148796313e38ef1ee1eb11c3cb8d SHA256 bce0f20aacbbe9f9d53b1e123a58435af669b1f9f1ece9947a16581d2fb5d118
+DIST Unreal3.2.6.tar.gz 2629222 RMD160 a6b0d0f96a1668c7ea3d4c9d72f1f9aa65765f3b SHA1 c6b8d2ab64b9853b65ac33617827c27166a0d57d SHA256 1db1295ac854e8d5424dbbbdce3f4e1443b389be0e5962870b3a8624312ee6c1
 EBUILD unrealircd-3.2.5.ebuild 3701 RMD160 7fea17db305033bd0d793abf9d9026503bc0a96d SHA1 d77190a828b1ce9acdce118ae5870de45018b0bc SHA256 69cb7f35d6e1e6651996534707080305817370155a4f641a7e23e7bc0a8b32cb
 MD5 a8b84bf6570d723cbcba8a8348665f22 unrealircd-3.2.5.ebuild 3701
 RMD160 7fea17db305033bd0d793abf9d9026503bc0a96d unrealircd-3.2.5.ebuild 3701
 SHA256 69cb7f35d6e1e6651996534707080305817370155a4f641a7e23e7bc0a8b32cb unrealircd-3.2.5.ebuild 3701
-MISC ChangeLog 7131 RMD160 342908d08f5423e238a2421919fb1f245836cf5d SHA1 0936057a468a8f54e0dd927d895b726998b61d72 SHA256 adb8cf542a73ddd3aa12b2e5be9afbfe059c037ccce69651cef889bde5f07170
-MD5 7a447fe1d8bf515d42a93d3ca7dba443 ChangeLog 7131
-RMD160 342908d08f5423e238a2421919fb1f245836cf5d ChangeLog 7131
-SHA256 adb8cf542a73ddd3aa12b2e5be9afbfe059c037ccce69651cef889bde5f07170 ChangeLog 7131
+EBUILD unrealircd-3.2.6.ebuild 3703 RMD160 3c15a4ff561a8f3d9a253121a33cb4f97abed2be SHA1 14c758b8ab78bca176ce31ee488c9a5b22bbc43b SHA256 10166672787dbd09059b20351137c97f1eb4480e9dfad6a9fbb117767f59461b
+MD5 d158090b9c01558e8cb7dbc4978f988c unrealircd-3.2.6.ebuild 3703
+RMD160 3c15a4ff561a8f3d9a253121a33cb4f97abed2be unrealircd-3.2.6.ebuild 3703
+SHA256 10166672787dbd09059b20351137c97f1eb4480e9dfad6a9fbb117767f59461b unrealircd-3.2.6.ebuild 3703
+MISC ChangeLog 7269 RMD160 19e55f07560eb99b85f15d8767923621c4f6decf SHA1 56bb61cae4ea738e3de8cb76d1fa04e56029156a SHA256 6790bb1261f1cdca69ba02ca307a031f34ef649fcf74e4604371a7ce43bf1bb4
+MD5 89a3bd8b19e2f2feb628cf7d9dddc8b6 ChangeLog 7269
+RMD160 19e55f07560eb99b85f15d8767923621c4f6decf ChangeLog 7269
+SHA256 6790bb1261f1cdca69ba02ca307a031f34ef649fcf74e4604371a7ce43bf1bb4 ChangeLog 7269
 MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2
 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
 RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160
@@ -25,10 +27,6 @@ SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 metadata
 MD5 0ad53bb9bd20286342a657077df2555c files/digest-unrealircd-3.2.5 238
 RMD160 0f7236c98d0b3546a1d3c1753a3938eb1a4292c4 files/digest-unrealircd-3.2.5 238
 SHA256 cbb030047337a908633923041cb425d4c1f9ae66071d1b402edb10af1ec79d5c files/digest-unrealircd-3.2.5 238
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFX66wI1lqEGTUzyQRAtP8AKCyia0vJ7UGt9+NEHWsr3LJZ5rLnACeKQr1
-rPP2gbKW/r6/fQLsIbl01NE=
-=VpFp
------END PGP SIGNATURE-----
+MD5 6b9af9e3deb8cf86b5b480f6baaee454 files/digest-unrealircd-3.2.6 238
+RMD160 725a54828179f75e86cd4a018f5952b5b82aa5af files/digest-unrealircd-3.2.6 238
+SHA256 048bb1eea0ffa7b934d2468862f9ec5e122379c715d998ff0957e35bb7cc1b9b files/digest-unrealircd-3.2.6 238
diff --git a/net-irc/unrealircd/files/digest-unrealircd-3.2.6 b/net-irc/unrealircd/files/digest-unrealircd-3.2.6
new file mode 100644 (file)
index 0000000..c20008c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 788a22bca06fc2d10494972d881b60bb Unreal3.2.6.tar.gz 2629222
+RMD160 a6b0d0f96a1668c7ea3d4c9d72f1f9aa65765f3b Unreal3.2.6.tar.gz 2629222
+SHA256 1db1295ac854e8d5424dbbbdce3f4e1443b389be0e5962870b3a8624312ee6c1 Unreal3.2.6.tar.gz 2629222
diff --git a/net-irc/unrealircd/unrealircd-3.2.6.ebuild b/net-irc/unrealircd/unrealircd-3.2.6.ebuild
new file mode 100644 (file)
index 0000000..63a5cc7
--- /dev/null
@@ -0,0 +1,136 @@
+# 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.6.ebuild,v 1.1 2007/02/18 21:27:58 armin76 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.secureirc.org/unrealircd/${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"
+
+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() {
+       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"
+
+       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 \
+               ${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
+
+       use ssl \
+               && docert server.cert \
+               && dosym server.cert.key /etc/unrealircd/server.key.pem
+
+       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() {
+       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
+}