# ChangeLog for net-irc/ircservices
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.30 2007/02/20 16:05:06 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.31 2007/04/11 13:56:29 jokey Exp $
+
+*ircservices-5.0.61 (11 Apr 2007)
+
+ 11 Apr 2007; Markus Ullmann <jokey@gentoo.org> +ircservices-5.0.61.ebuild:
+ Version bump wrt bug #174112
20 Feb 2007; Raúl Porcel <armin76@gentoo.org> -ircservices-5.0.53.ebuild,
-ircservices-5.0.54.ebuild, -ircservices-5.0.57.ebuild:
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 5.0.37-fPIC.patch 1172 RMD160 2fd0bbbb606ad26229c62ca64430cf1ebb0f8654 SHA1 15a1dba81a02681f1682efb8c007d2b51045e496 SHA256 a04e0ec338d84a1f1f64233af4aeeadd4f216032063347bec275b4e5ff5c9114
MD5 0dc39b8e38a74a2fca213bf4e2f63d3e files/5.0.37-fPIC.patch 1172
RMD160 2fd0bbbb606ad26229c62ca64430cf1ebb0f8654 files/5.0.37-fPIC.patch 1172
RMD160 e54f5a09c99c9aea230013afe01b02080aa793b4 files/ircservices.init.d 764
SHA256 9dacabf713916d88b6c03af21c0a449f527e9c19d1e9f1c56aeeeeb68586bdbd files/ircservices.init.d 764
DIST ircservices-5.0.59.tar.gz 1156586 RMD160 e8972f503dadae3830c0ab43d261e8e8233db0d0 SHA1 896c1c1081fc07cf25dfb67c53840d1047fbeb94 SHA256 b56a76ad75f2de3a93a7913803b95d1f21e51ed38bd5c9f3de5edf7626ad5f55
+DIST ircservices-5.0.61.tar.gz 1167307 RMD160 d0aaf1a59f451890b89b337ba74c0724216f2ab8 SHA1 b6660d4607d4260f17ba8c7fc6adf26d34b3fd4b SHA256 87b58cebbc35956f89ebb70ea38aca10684074b24cc5e837890951db480a6324
EBUILD ircservices-5.0.59.ebuild 3378 RMD160 0bb01d2855c83e5ec069f6bf402865669b6408ce SHA1 0d4e004012b0d69cc81a67f85e9284d4cd27c7fe SHA256 0b560a24f2dcd70d01bb65b1336c0e0ec9d6bbc029cf611bde584156acf16300
MD5 791e02e195506e255faf2e2e5bbf42b3 ircservices-5.0.59.ebuild 3378
RMD160 0bb01d2855c83e5ec069f6bf402865669b6408ce ircservices-5.0.59.ebuild 3378
SHA256 0b560a24f2dcd70d01bb65b1336c0e0ec9d6bbc029cf611bde584156acf16300 ircservices-5.0.59.ebuild 3378
-MISC ChangeLog 5135 RMD160 5054318c9a52eaa9bb6b1ad325595e2b71ea3bb2 SHA1 1d8d34ba7340eaf3437ee830ab966160e805ace1 SHA256 14f883b42f4e9b6e26859190c5a070ba5b176dff1e5ff7ab3150cd57cf4cffbe
-MD5 8e46b95366dbb00dec5719cb55ffda6e ChangeLog 5135
-RMD160 5054318c9a52eaa9bb6b1ad325595e2b71ea3bb2 ChangeLog 5135
-SHA256 14f883b42f4e9b6e26859190c5a070ba5b176dff1e5ff7ab3150cd57cf4cffbe ChangeLog 5135
+EBUILD ircservices-5.0.61.ebuild 3349 RMD160 c52d367cc92842f16b8776a1862ba8118840e37d SHA1 77ec24091e5790f4ea98d327b25e0fee58983a34 SHA256 d3f39dcb408806d74ccd8e7b0a0b9f09b11f23c96aa5a573d6c28a6357e4d41f
+MD5 54c8da01aeeac1537f870957038d2bc5 ircservices-5.0.61.ebuild 3349
+RMD160 c52d367cc92842f16b8776a1862ba8118840e37d ircservices-5.0.61.ebuild 3349
+SHA256 d3f39dcb408806d74ccd8e7b0a0b9f09b11f23c96aa5a573d6c28a6357e4d41f ircservices-5.0.61.ebuild 3349
+MISC ChangeLog 5277 RMD160 84122701906e35a35a7158dc7f95214fd0e0c603 SHA1 1cbb36e5c535411463ad667d518cbc1260ca9e40 SHA256 4ee43bc93203eafb06958c55569e82933cf2d83366b4550510796885eb524c8f
+MD5 3185864659cf6c0f44c8e554bd75699a ChangeLog 5277
+RMD160 84122701906e35a35a7158dc7f95214fd0e0c603 ChangeLog 5277
+SHA256 4ee43bc93203eafb06958c55569e82933cf2d83366b4550510796885eb524c8f ChangeLog 5277
MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160
MD5 85339f8b2007f8662eec4e0cea58bda0 files/digest-ircservices-5.0.59 259
RMD160 a911d030fd2a651448cc9157eed6ab7431d0dd5e files/digest-ircservices-5.0.59 259
SHA256 c4db5b72d85647f4799dfe4ca3ce8550e45dfea5b3a716de74941d990689ce98 files/digest-ircservices-5.0.59 259
+MD5 2579e334e664462d200cbe11ae414496 files/digest-ircservices-5.0.61 259
+RMD160 ba1c21553469e26d33aa56a8435f2acad01d44b7 files/digest-ircservices-5.0.61 259
+SHA256 e43c9b7c1236b4fb7ceeb60329b12aad03b038ca972381d3c9424be64fec893c files/digest-ircservices-5.0.61 259
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGHOkWz974XjDVpbkRAm6YAJ9zBfJXTYX5rV2niCG2hfCT3TcdhgCg3XIK
+Tt0xltCQ6Y8cbi8BVqHEWCc=
+=XGHc
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 51559570701f884f459036e88104ea15 ircservices-5.0.61.tar.gz 1167307
+RMD160 d0aaf1a59f451890b89b337ba74c0724216f2ab8 ircservices-5.0.61.tar.gz 1167307
+SHA256 87b58cebbc35956f89ebb70ea38aca10684074b24cc5e837890951db480a6324 ircservices-5.0.61.tar.gz 1167307
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.61.ebuild,v 1.1 2007/04/11 13:56:29 jokey Exp $
+
+inherit eutils fixheadtails flag-o-matic toolchain-funcs
+
+DESCRIPTION="ChanServ, NickServ & MemoServ with support for several IRC daemons"
+HOMEPAGE="http://www.ircservices.za.net/"
+SRC_URI="http://www.ircservices.za.net/download/${P}.tar.gz
+ ftp://ftp.esper.net/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+pkg_setup() {
+ enewgroup ircservices
+ enewuser ircservices -1 -1 -1 ircservices
+ # this is needed, because old ebuilds added the user with ircservices:users
+ usermod -g ircservices ircservices
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/5.0.37-fPIC.patch
+ epatch "${FILESDIR}"/5.0.53-fPIC-configure.patch
+
+ ht_fix_file configure
+ sed -i \
+ -e "s/-m 750/-m 755/" \
+ -e "s/-m 640/-m 644/" \
+ configure
+}
+
+src_compile() {
+ append-flags -fno-stack-protector
+ # configure fails with -O higher than 2
+ replace-flags "-O[3-9s]" "-O2"
+
+ RUNGROUP="ircservices" \
+ ./configure \
+ -cc "$(tc-getCC)" \
+ -cflags "${CFLAGS}" \
+ -bindest /usr/bin \
+ -datdest /var/lib/ircservices \
+ || die "./configure failed"
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ dodir /usr/bin /{etc,usr/{$(get_libdir),share},var/lib}/ircservices || die "dodir failed"
+ keepdir /var/log/ircservices || die "keepdir failed"
+
+ make \
+ BINDEST="${D}"/usr/bin \
+ DATDEST="${D}"/var/lib/ircservices \
+ install \
+ || die "make install failed"
+
+ mv "${D}"/var/lib/ircservices/convert-db "${D}"/usr/bin/ircservices-convert-db || die "mv failed"
+
+ # Now we move some files around to make it FHS conform
+ mv "${D}"/var/lib/ircservices/example-ircservices.conf "${D}"/etc/ircservices/ircservices.conf || die "mv failed"
+ dosym /etc/ircservices/ircservices.conf /var/lib/ircservices/ircservices.conf || die "dosym failed"
+
+ mv "${D}"/var/lib/ircservices/example-modules.conf "${D}"/etc/ircservices/modules.conf || die "mv failed"
+ dosym /etc/ircservices/modules.conf /var/lib/ircservices/modules.conf || die "dosym failed"
+
+ mv "${D}"/var/lib/ircservices/modules "${D}"/usr/$(get_libdir)/ircservices || die "mv failed"
+ dosym /usr/$(get_libdir)/ircservices/modules /var/lib/ircservices/modules || die "dosym failed"
+
+ mv "${D}"/var/lib/ircservices/{helpfiles,languages} "${D}"/usr/share/ircservices || die "mv failed"
+ dosym /usr/share/ircservices/helpfiles /var/lib/ircservices/helpfiles || die "mv failed"
+ dosym /usr/share/ircservices/languages /var/lib/ircservices/languages || die "dosym failed"
+
+ fperms 750 /var/{lib,log}/ircservices /etc/ircservices
+ fperms 640 /etc/ircservices/{ircservices,modules}.conf
+ fowners ircservices:ircservices /var/{lib,log}/ircservices
+ fowners root:ircservices /etc/ircservices{,/{ircservices,modules}.conf}
+
+ newinitd "${FILESDIR}"/ircservices.init.d ircservices || die "newinitd failed"
+ newconfd "${FILESDIR}"/ircservices.conf.d ircservices || die "newconfd failed"
+
+ doman docs/ircservices.8 || die "doman failed"
+ newman docs/convert-db.8 ircservices-convert-db.8 || die "newman failed"
+ dohtml docs/*.html || die "dohtml failed"
+ dodoc KnownBugs Changes README TODO WhatsNew || die "dodoc failed"
+}