summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-07-05 11:36:32 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-07-05 11:36:32 +0000
commitd229476bf5c568f9e9f66efd7e2c55347033ff72 (patch)
tree69b2275b3177b44e011708b11330a535758ba9a1 /net-irc
parentAdded patch from svn repository to work with newer ffmpeg versions. (diff)
downloadgentoo-2-d229476bf5c568f9e9f66efd7e2c55347033ff72.tar.gz
gentoo-2-d229476bf5c568f9e9f66efd7e2c55347033ff72.tar.bz2
gentoo-2-d229476bf5c568f9e9f66efd7e2c55347033ff72.zip
Version bump
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/ircservices/ChangeLog7
-rw-r--r--net-irc/ircservices/files/digest-ircservices-5.0.623
-rw-r--r--net-irc/ircservices/ircservices-5.0.62.ebuild94
3 files changed, 103 insertions, 1 deletions
diff --git a/net-irc/ircservices/ChangeLog b/net-irc/ircservices/ChangeLog
index 648d57611b6a..d031acf2e027 100644
--- a/net-irc/ircservices/ChangeLog
+++ b/net-irc/ircservices/ChangeLog
@@ -1,6 +1,11 @@
# 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.34 2007/06/21 14:46:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.35 2007/07/05 11:36:32 armin76 Exp $
+
+*ircservices-5.0.62 (05 Jul 2007)
+
+ 05 Jul 2007; Raúl Porcel <armin76@gentoo.org> +ircservices-5.0.62.ebuild:
+ Version bump
21 Jun 2007; Raúl Porcel <armin76@gentoo.org> -ircservices-5.0.59.ebuild:
old
diff --git a/net-irc/ircservices/files/digest-ircservices-5.0.62 b/net-irc/ircservices/files/digest-ircservices-5.0.62
new file mode 100644
index 000000000000..2d8ca595afaf
--- /dev/null
+++ b/net-irc/ircservices/files/digest-ircservices-5.0.62
@@ -0,0 +1,3 @@
+MD5 c2036f47fff481e93de78eeff4b1850c ircservices-5.0.62.tar.gz 1167383
+RMD160 c793af5a38b9be9d047d754718825106cda70d70 ircservices-5.0.62.tar.gz 1167383
+SHA256 7fab64390cb2456a2d6517821eaea6bdace825a764ef8f859406c6bd0501aebc ircservices-5.0.62.tar.gz 1167383
diff --git a/net-irc/ircservices/ircservices-5.0.62.ebuild b/net-irc/ircservices/ircservices-5.0.62.ebuild
new file mode 100644
index 000000000000..e36e4a639a30
--- /dev/null
+++ b/net-irc/ircservices/ircservices-5.0.62.ebuild
@@ -0,0 +1,94 @@
+# 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.62.ebuild,v 1.1 2007/07/05 11:36:32 armin76 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"
+}