From 250e7268fd34e7a4d0765f4faf100a11711cbb7f Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Thu, 10 Feb 2005 09:01:20 +0000 Subject: Version bump. Package-Manager: portage-2.0.51.16 --- net-irc/ircservices/ChangeLog | 8 +- net-irc/ircservices/Manifest | 12 +-- .../ircservices/files/digest-ircservices-5.0.45 | 1 + net-irc/ircservices/ircservices-5.0.45.ebuild | 95 ++++++++++++++++++++++ 4 files changed, 110 insertions(+), 6 deletions(-) create mode 100644 net-irc/ircservices/files/digest-ircservices-5.0.45 create mode 100644 net-irc/ircservices/ircservices-5.0.45.ebuild (limited to 'net-irc/ircservices') diff --git a/net-irc/ircservices/ChangeLog b/net-irc/ircservices/ChangeLog index add6b304745f..9787d732e0b2 100644 --- a/net-irc/ircservices/ChangeLog +++ b/net-irc/ircservices/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-irc/ircservices # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.12 2005/01/21 20:06:05 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.13 2005/02/10 09:01:20 swegener Exp $ + +*ircservices-5.0.45 (10 Feb 2005) + + 10 Feb 2005; Sven Wegener + +ircservices-5.0.45.ebuild: + Version bump. 21 Jan 2005; Sven Wegener -ircservices-5.0.41.ebuild, -ircservices-5.0.42.ebuild, diff --git a/net-irc/ircservices/Manifest b/net-irc/ircservices/Manifest index a1697c536d99..b4d570c22a3c 100644 --- a/net-irc/ircservices/Manifest +++ b/net-irc/ircservices/Manifest @@ -2,16 +2,18 @@ Hash: SHA1 MD5 5ba0a30772c4503b1d5cf70fa9e45882 ircservices-5.0.44.ebuild 2862 -MD5 bedaa827065546db54a8b3d796aba1b0 ChangeLog 2153 +MD5 34c3b3883bd9aa75e592745e3ab6d461 ircservices-5.0.45.ebuild 2863 +MD5 1271c3e2a4960aae193f95dd0dee0f88 ChangeLog 2285 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 MD5 a1156d386ac4d997cc89a9ef7ea1cc57 files/ircservices.conf.d 327 MD5 d9efecafab50b58223b6a7bb30f6949e files/ircservices.init.d 700 MD5 0dc39b8e38a74a2fca213bf4e2f63d3e files/5.0.37-fPIC.patch 1172 MD5 87fe1756e2b9d6dfd209960003623c11 files/digest-ircservices-5.0.44 71 +MD5 459461051b10e8e948b0a1f4091d363a files/digest-ircservices-5.0.45 71 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) +Version: GnuPG v1.4.0 (GNU/Linux) -iD8DBQFB8WCzI1lqEGTUzyQRAt33AKCY7KTA9i/56n7PtGmvXbnt+FTzCgCgzzG3 -1YoW/IEaEEnjMba6iqjVzDE= -=880x +iD8DBQFCCyLpI1lqEGTUzyQRAnW6AJ9kuTefEFDP8E0LYc5eurPoN78ePwCeJ5aj +Fu37qtXaASB7etRvlqA7Lgc= +=Z+9G -----END PGP SIGNATURE----- diff --git a/net-irc/ircservices/files/digest-ircservices-5.0.45 b/net-irc/ircservices/files/digest-ircservices-5.0.45 new file mode 100644 index 000000000000..1673256bb3ab --- /dev/null +++ b/net-irc/ircservices/files/digest-ircservices-5.0.45 @@ -0,0 +1 @@ +MD5 a0e54d9d20dfc68eac450ae3724dd8b1 ircservices-5.0.45.tar.gz 1100121 diff --git a/net-irc/ircservices/ircservices-5.0.45.ebuild b/net-irc/ircservices/ircservices-5.0.45.ebuild new file mode 100644 index 000000000000..7a1f4cd352c1 --- /dev/null +++ b/net-irc/ircservices/ircservices-5.0.45.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.45.ebuild,v 1.1 2005/02/10 09:01:20 swegener Exp $ + +inherit eutils fixheadtails flag-o-matic + +DESCRIPTION="ChanServ, NickServ & MemoServ with support for several IRC daemons" +HOMEPAGE="http://www.ircservices.za.net/" +SRC_URI="ftp://ftp.esper.net/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" + +DEPEND="" + +# configure fails with -O higher than 2 +replace-flags "-O[3-9]" "-O2" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/5.0.37-fPIC.patch + + ht_fix_file configure + sed -i -e "s/HEAD -1/HEAD -n 1/" configure +} + +src_compile() { + append-flags -fno-stack-protector + + ./configure \ + -cflags "${CFLAGS}" \ + -bindest /usr/bin \ + -datdest /var/lib/ircservices \ + || die "./configure failed" + emake -j1 || die "make failed" +} + +src_install() { + dodir \ + /usr/bin \ + /{etc,{usr,var}/lib,usr/share}/ircservices || die "dodir failed" + keepdir /var/log/ircservices || die "keepdir failed" + fperms 700 /{etc,var/lib}/ircservices || die "fperms 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/lib/ircservices \ + || die "mv failed" + dosym /usr/lib/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" + + 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" +} + +pkg_postinst() { + enewuser ircservices + chown ircservices ${ROOT}/var/lib/ircservices + chown -R ircservices ${ROOT}/etc/ircservices +} -- cgit v1.2.3-65-gdbad