summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-08-31 17:31:35 +0000
committerSven Wegener <swegener@gentoo.org>2005-08-31 17:31:35 +0000
commit3d05ce9167f101fc090efa12800df954723b6e3a (patch)
treef810ff0f97eef6b2504a1f5836cdf2cd13165718 /net-irc/ircservices
parentNew release (diff)
downloadgentoo-2-3d05ce9167f101fc090efa12800df954723b6e3a.tar.gz
gentoo-2-3d05ce9167f101fc090efa12800df954723b6e3a.tar.bz2
gentoo-2-3d05ce9167f101fc090efa12800df954723b6e3a.zip
Version bump.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-irc/ircservices')
-rw-r--r--net-irc/ircservices/ChangeLog8
-rw-r--r--net-irc/ircservices/Manifest12
-rw-r--r--net-irc/ircservices/files/digest-ircservices-5.0.541
-rw-r--r--net-irc/ircservices/ircservices-5.0.54.ebuild83
4 files changed, 93 insertions, 11 deletions
diff --git a/net-irc/ircservices/ChangeLog b/net-irc/ircservices/ChangeLog
index c905e2ed8db8..9357588edeb5 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.22 2005/08/11 14:48:09 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ChangeLog,v 1.23 2005/08/31 17:31:35 swegener Exp $
+
+*ircservices-5.0.54 (31 Aug 2005)
+
+ 31 Aug 2005; Sven Wegener <swegener@gentoo.org>
+ +ircservices-5.0.54.ebuild:
+ Version bump.
11 Aug 2005; Sven Wegener <swegener@gentoo.org> ircservices-5.0.53.ebuild:
Use get_libdir when creating directories.
diff --git a/net-irc/ircservices/Manifest b/net-irc/ircservices/Manifest
index 37700abb27bb..ce7af496f962 100644
--- a/net-irc/ircservices/Manifest
+++ b/net-irc/ircservices/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 137d8e2bdc65456a0c3383ff76894ae8 ChangeLog 3757
MD5 0dc39b8e38a74a2fca213bf4e2f63d3e files/5.0.37-fPIC.patch 1172
MD5 4378abfaa42b42cf88d1448f7be7d5ce files/5.0.53-fPIC-configure.patch 635
MD5 29f1a5443fdb20cb212af83299e49fd8 files/digest-ircservices-5.0.53 71
+MD5 8ca20f7c34571d05359169b1ce456e2a files/digest-ircservices-5.0.54 71
MD5 53b4476f6787f6aa0072d2b7374ab4c2 files/ircservices.conf.d 327
MD5 fd2df3bf979010c19ad2e4ec09853c7f files/ircservices.init.d 700
MD5 67e2839da7b8960eec6cf1e208d57ef8 ircservices-5.0.53.ebuild 2991
+MD5 67e2839da7b8960eec6cf1e208d57ef8 ircservices-5.0.54.ebuild 2991
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFC+2VEI1lqEGTUzyQRAmGUAJ9RPU/K6PkfrVC4x0mmEjtZ91qhrQCfRaRf
-8hDYotsaS7ZqAwGyeV8QOpw=
-=pN4w
------END PGP SIGNATURE-----
diff --git a/net-irc/ircservices/files/digest-ircservices-5.0.54 b/net-irc/ircservices/files/digest-ircservices-5.0.54
new file mode 100644
index 000000000000..36997bf51578
--- /dev/null
+++ b/net-irc/ircservices/files/digest-ircservices-5.0.54
@@ -0,0 +1 @@
+MD5 589bf39dd5d702d5f9d5da1fe404d6b1 ircservices-5.0.54.tar.gz 1151132
diff --git a/net-irc/ircservices/ircservices-5.0.54.ebuild b/net-irc/ircservices/ircservices-5.0.54.ebuild
new file mode 100644
index 000000000000..46f775fac4c0
--- /dev/null
+++ b/net-irc/ircservices/ircservices-5.0.54.ebuild
@@ -0,0 +1,83 @@
+# 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.54.ebuild,v 1.1 2005/08/31 17:31:35 swegener 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="ftp://ftp.esper.net/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+DEPEND=""
+
+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/HEAD -1/HEAD -n 1/" configure
+}
+
+src_compile() {
+ append-flags -fno-stack-protector
+ # configure fails with -O higher than 2
+ replace-flags "-O[3-9s]" "-O2"
+
+ ./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"
+ 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/$(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"
+
+ 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
+}