summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-02-18 22:47:01 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-02-18 22:47:01 +0000
commit77c67bdbc0043a062a0495772e741fe34caec9db (patch)
tree50d27d5882e510d7afee1d703b245b7ce39c9969 /net-irc
parentStable for HPPA (bug #167391). (diff)
downloadgentoo-2-77c67bdbc0043a062a0495772e741fe34caec9db.tar.gz
gentoo-2-77c67bdbc0043a062a0495772e741fe34caec9db.tar.bz2
gentoo-2-77c67bdbc0043a062a0495772e741fe34caec9db.zip
Version bump, bug 149685
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/srvx/ChangeLog7
-rw-r--r--net-irc/srvx/files/digest-srvx-1.3.13
-rw-r--r--net-irc/srvx/srvx-1.3.1.ebuild67
3 files changed, 76 insertions, 1 deletions
diff --git a/net-irc/srvx/ChangeLog b/net-irc/srvx/ChangeLog
index c467a28f3d06..2ad5a0a7c163 100644
--- a/net-irc/srvx/ChangeLog
+++ b/net-irc/srvx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/srvx
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/srvx/ChangeLog,v 1.9 2007/02/09 04:29:01 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/srvx/ChangeLog,v 1.10 2007/02/18 22:47:01 armin76 Exp $
+
+*srvx-1.3.1 (18 Feb 2007)
+
+ 18 Feb 2007; Raúl Porcel <armin76@gentoo.org> +srvx-1.3.1.ebuild:
+ Version bump, bug 149685
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/net-irc/srvx/files/digest-srvx-1.3.1 b/net-irc/srvx/files/digest-srvx-1.3.1
new file mode 100644
index 000000000000..ee5697a8764a
--- /dev/null
+++ b/net-irc/srvx/files/digest-srvx-1.3.1
@@ -0,0 +1,3 @@
+MD5 fe9b0a3d2dc3f12f98f250b612f7f760 srvx-1.3.1.tar.bz2 560658
+RMD160 56d5a659e20168ee57645265a4dd467c1b7dfe69 srvx-1.3.1.tar.bz2 560658
+SHA256 e11347a58505f0274a54ca8f956ad21d9e5557ecfcd86f71a58be2fbc2a81d63 srvx-1.3.1.tar.bz2 560658
diff --git a/net-irc/srvx/srvx-1.3.1.ebuild b/net-irc/srvx/srvx-1.3.1.ebuild
new file mode 100644
index 000000000000..1582a1313321
--- /dev/null
+++ b/net-irc/srvx/srvx-1.3.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/srvx/srvx-1.3.1.ebuild,v 1.1 2007/02/18 22:47:01 armin76 Exp $
+
+inherit eutils
+
+DESCRIPTION="A complete set of services for IRCu 2.10.10+ and bahamut based networks"
+HOMEPAGE="http://www.srvx.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="bahamut debug"
+
+src_compile() {
+ local PROTOCOL="p10" MALLOC="system" DEBUG=""
+ use bahamut && PROTOCOL="bahamut"
+ use debug && MALLOC="srvx" DEBUG="--enable-debug"
+
+ econf \
+ --with-protocol=${PROTOCOL} \
+ --with-malloc=${MALLOC} \
+ --enable-modules=helpserv,memoserv,sockcheck \
+ ${DEBUG} \
+ || die "econf failed"
+ emake all-recursive || die "emake failed"
+}
+
+src_install() {
+ dobin src/srvx || die "dobin failed"
+ dodir /var/lib/srvx || die "dodir failed"
+
+ insinto /etc/srvx
+ newins srvx.conf.example srvx.conf || die "newins failed"
+ newins sockcheck.conf.example sockcheck.conf || die "newins failed"
+ dosym ../../../etc/srvx/srvx.conf /var/lib/srvx/srvx.conf || die "dosym failed"
+ dosym ../../../etc/srvx/sockcheck.conf /var/lib/srvx/sockcheck.conf || die "dosym failed"
+
+ insinto /usr/share/srvx
+ for helpfile in \
+ chanserv.help global.help mod-helpserv.help mod-memoserv.help \
+ mod-sockcheck.help modcmd.help nickserv.help opserv.help \
+ saxdb.help sendmail.help
+ do
+ doins "src/${helpfile}" || die "doins failed"
+ dosym "../../../usr/share/srvx/${helpfile}" "/var/lib/srvx/${helpfile}" || die "dosym failed"
+ done
+
+ dodoc \
+ AUTHORS INSTALL NEWS README TODO UPGRADE \
+ {sockcheck,srvx}.conf.example \
+ || die "dodoc failed"
+
+ newinitd "${FILESDIR}"/srvx.init.d srvx || die "newinitd failed"
+ newconfd "${FILESDIR}"/srvx.conf.d srvx || die "newconfd failed"
+}
+
+pkg_setup() {
+ enewgroup srvx
+ enewuser srvx -1 -1 /var/lib/srvx srvx
+}
+
+pkg_postinst() {
+ chown -R srvx:srvx "${ROOT}"/etc/srvx "${ROOT}"/var/lib/srvx
+ chmod 0700 "${ROOT}"/etc/srvx "${ROOT}"/var/lib/srvx
+}