summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2010-07-22 11:43:47 +0000
committerBjarke Istrup Pedersen <gurligebis@gentoo.org>2010-07-22 11:43:47 +0000
commit5d7a1db9bad7296ce7ca2fee2d127b4bd76c654c (patch)
tree31d8ca9b7d11256b77756e94453e132367ff585f /net-irc
parentBumping to 0.9.20 (diff)
downloadhistorical-5d7a1db9bad7296ce7ca2fee2d127b4bd76c654c.tar.gz
historical-5d7a1db9bad7296ce7ca2fee2d127b4bd76c654c.tar.bz2
historical-5d7a1db9bad7296ce7ca2fee2d127b4bd76c654c.zip
Bumping to 1.8.4
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/anope/ChangeLog10
-rw-r--r--net-irc/anope/Manifest14
-rw-r--r--net-irc/anope/anope-1.8.4.ebuild157
3 files changed, 178 insertions, 3 deletions
diff --git a/net-irc/anope/ChangeLog b/net-irc/anope/ChangeLog
index f30ad1867eba..75cb637ad3d3 100644
--- a/net-irc/anope/ChangeLog
+++ b/net-irc/anope/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/anope
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/ChangeLog,v 1.15 2009/06/27 11:04:34 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/ChangeLog,v 1.16 2010/07/22 11:43:47 gurligebis Exp $
+
+*anope-1.8.4 (22 Jul 2010)
+
+ 22 Jul 2010; Bjarke Istrup Pedersen <gurligebis@gentoo.org>
+ +anope-1.8.4.ebuild:
+ Bumping to 1.8.4
*anope-1.8.0 (27 Jun 2009)
diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest
index cac829c95b9c..750b1e18044d 100644
--- a/net-irc/anope/Manifest
+++ b/net-irc/anope/Manifest
@@ -1,9 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX anope.confd 319 RMD160 0c5d646bfa55a17a32b9438c79abae6fce8a3edc SHA1 e19f46901bf4c79d79c8dc55cb84973c9d136730 SHA256 c2a9351942865763e6fdeaa9c37be28efb23f788dc9041439ca80b7d60d1c4f4
AUX anope.initd 575 RMD160 59f2759c0b3918f4d510c4f5f738dc40e079a511 SHA1 4669ee3d2eec9251b763438e0627f7152b5afc5a SHA256 bf510cb3eb2c9839630f834bc2730c6b4d3da9a7d9a671b02eefefad5f39ed1d
AUX pid-patch.diff 450 RMD160 d18ab894895db105c91d0d1e24af2aff79f1bd13 SHA1 87be4165d15dbc6bfc972972d588e127ab492135 SHA256 cd3f266cd236e6a5bb7d15b502631e8992289455f7e308d94ac14e3b13314dc5
DIST anope-1.8.0-rc1.tar.gz 1559311 RMD160 da43a7cc3e89a524f6d6aeb5c7725fcedc58cf77 SHA1 ead5a58c3d17345cf0647544f8f7d58720c51658 SHA256 c382504a3e967ec4cb1cac25478017e6edbc3fd801303e85b8f222f847a7601a
DIST anope-1.8.0.tar.gz 1559446 RMD160 fc54c552de5bcfc1d3b620c442e4f5a7081734a3 SHA1 0e7106fd65c7dec4187fae26ac1ca6375fe694f1 SHA256 e0c03d2590d3da273e4fb2bb5ec8056f85045979f86e6224bfe895f16a1fd41d
+DIST anope-1.8.4.tar.gz 1576567 RMD160 3038e3e82cb52c6ea3601ca9bad4e4ff19ee3809 SHA1 33cee87559ded4f00e4a0731e20647c04dfefb9b SHA256 d19fd3963646614d3f45dab8cc4e322e086c281da6486129e0b7b8c8c4e796d5
EBUILD anope-1.8.0.ebuild 4185 RMD160 1690dc67f9fbae6909642926f1224d7e87be2463 SHA1 acebb0a33a22eddd8940c318e38665ad1a29ee10 SHA256 06ee0673a80a69a13e1025f55159f40dcf5044944661dcac6dda00b596d0ab1d
EBUILD anope-1.8.0_rc1.ebuild 4192 RMD160 636b579e6421a13805947cb2f23a2dbecc076cfa SHA1 f52d50753350c01fab728c7065b2b93a72314459 SHA256 26b03a39fb25095274b4c4f74202fffbc52325791109debf24f6bbfc3f7b1df8
-MISC ChangeLog 2208 RMD160 43154cf1166541bceb8f777132d01d0677247406 SHA1 198346a95dc1861c741a2ac8d4fe7c66a3be331d SHA256 32a331de2fdc4246fa90953b38afbcf6ed0bd911b0bb8d4cdf0a9ab1a3735c97
+EBUILD anope-1.8.4.ebuild 4119 RMD160 468ab41ffc4edb9fba9aff8019b69a6ce1a87739 SHA1 521381d42402bafd7b78e13b4a2f8fbd3c3af0e2 SHA256 359e545659a9449febc5a36f1506873232e4bf5c7adbada624d4fe4d83cab29b
+MISC ChangeLog 2344 RMD160 e2fd2d6fcaf5e84354ae1d6656b76b6c903a6c35 SHA1 3c37da986067b66102189518bce1441ea44e1e69 SHA256 c3f964f3ea3b490a459c8fbc1cf8d4f63a212e6903387bf4397c65a8fd48cbb3
MISC metadata.xml 322 RMD160 4ac585786fcb58a92771bd8ee9f71f4738e64798 SHA1 133d8c37c5ab6d5366948f3de3e18c5a7a230ed4 SHA256 4240b9effe8d7796234c47e4f4af9ef4250bcfcafa9ec09e4b6a4a503de10b71
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkxILvwACgkQsR7PQhRXYEnq8ACfR160ma1tu97uftfl5ME76ptU
+qX4An0lFnMK7KoUw0TAGzCnS4mGmp0XV
+=CaRm
+-----END PGP SIGNATURE-----
diff --git a/net-irc/anope/anope-1.8.4.ebuild b/net-irc/anope/anope-1.8.4.ebuild
new file mode 100644
index 000000000000..3d36e405ea20
--- /dev/null
+++ b/net-irc/anope/anope-1.8.4.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/anope-1.8.4.ebuild,v 1.1 2010/07/22 11:43:47 gurligebis Exp $
+
+inherit eutils versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DESCRIPTION="Anope IRC Services"
+HOMEPAGE="http://www.anope.org"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mysql"
+
+DEPEND="mysql? ( virtual/mysql )"
+
+INSTALL_DIR="/opt/anope"
+
+pkg_setup() {
+ enewgroup anope
+ enewuser anope -1 -1 "${INSTALL_DIR}" anope
+ if has_version net-irc/anope ; then
+ ewarn
+ ewarn "Make backups before updating as they will be overwritten"
+ ewarn
+ ebeep 10
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/pid-patch.diff
+}
+
+src_compile() {
+ local myconf
+ if ! use mysql; then
+ myconf="${myconf} --without-mysql"
+ fi
+
+ econf \
+ ${myconf} \
+ --bindir ${INSTALL_DIR} \
+ --with-bindir=${INSTALL_DIR} \
+ --with-datadir=${INSTALL_DIR}/data \
+ --with-modules=${INSTALL_DIR}/modules \
+ --with-encryption \
+ --with-rungroup=anope \
+ --with-permissions=077 \
+ || die "Configuration failed."
+
+ sed -i -e "/^build:/s:$: language:g" "${S}"/Makefile || die "sed failed"
+
+ emake || die "Make failed."
+}
+
+src_install() {
+ dodir ${INSTALL_DIR}
+ dodir ${INSTALL_DIR}/data
+ dodir ${INSTALL_DIR}/data/logs
+ dodir ${INSTALL_DIR}/data/languages
+ dodir ${INSTALL_DIR}/data/modules
+ dodir ${INSTALL_DIR}/data/modules/runtime
+
+ dodir /var/run/anope
+ fowners anope:anope /var/run/anope
+ keepdir /var/run/anope
+
+ fowners anope:anope ${INSTALL_DIR}
+ fowners anope:anope ${INSTALL_DIR}/data
+ fowners anope:anope ${INSTALL_DIR}/data/logs
+ fowners anope:anope ${INSTALL_DIR}/data/languages
+ fowners anope:anope ${INSTALL_DIR}/data/modules
+ fowners anope:anope ${INSTALL_DIR}/data/modules/runtime
+
+ exeinto ${INSTALL_DIR}
+ doexe src/services
+ insinto ${INSTALL_DIR}/data
+ newins data/example.conf services.conf.example
+
+ newinitd "${FILESDIR}"/anope.initd anope
+ newconfd "${FILESDIR}"/anope.confd anope
+
+ insinto ${INSTALL_DIR}/data/modules
+ doins src/modules/*.so
+
+ keepdir ${INSTALL_DIR}/data/logs
+
+ insinto ${INSTALL_DIR}/data/languages
+ doins lang/cat
+ doins lang/de
+ doins lang/en_us
+ doins lang/es
+ doins lang/fr
+ doins lang/gr
+ doins lang/hun
+ doins lang/it
+ doins lang/nl
+ doins lang/pl
+ doins lang/pt
+ doins lang/ru
+ doins lang/tr
+
+ keepdir ${INSTALL_DIR}/data/modules/runtime
+
+ insinto ${INSTALL_DIR}/data/modules
+ doins src/protocol/*.so
+ doins src/core/*.so
+
+ fowners anope:anope ${INSTALL_DIR}/services
+ fowners anope:anope ${INSTALL_DIR}/data/languages/cat
+ fowners anope:anope ${INSTALL_DIR}/data/languages/de
+ fowners anope:anope ${INSTALL_DIR}/data/languages/en_us
+ fowners anope:anope ${INSTALL_DIR}/data/languages/fr
+ fowners anope:anope ${INSTALL_DIR}/data/languages/gr
+ fowners anope:anope ${INSTALL_DIR}/data/languages/hun
+ fowners anope:anope ${INSTALL_DIR}/data/languages/it
+ fowners anope:anope ${INSTALL_DIR}/data/languages/nl
+ fowners anope:anope ${INSTALL_DIR}/data/languages/pl
+ fowners anope:anope ${INSTALL_DIR}/data/languages/pt
+ fowners anope:anope ${INSTALL_DIR}/data/languages/ru
+ fowners anope:anope ${INSTALL_DIR}/data/languages/tr
+
+ dodoc Changes Changes.conf Changes.lang Changes.mysql docs/*
+
+ use mysql && dodoc data/tables.sql
+}
+
+pkg_preinst() {
+ if has_version net-irc/anope ; then
+ elog "Making a backup of your config to data/pre-update"
+ mkdir "${ROOT}"opt/anope/data/pre-update
+ cp "${ROOT}"opt/anope/data/* "${ROOT}"opt/anope/data/pre-update
+ fi
+}
+
+pkg_postinst() {
+ echo
+ ewarn "Anope won't run out of the box, you still have to configure it to match your IRCDs configuration."
+ ewarn "Edit ${INSTALL_DIR}/data/services.conf to configure Anope."
+ echo
+ ewarn "!!! ATTENTION !!!"
+ ewarn "Be sure to read Changes.mysql to update your MySQL"
+ ewarn "tables or anope will break after restart"
+ ewarn "!!! ATTENTION !!!"
+
+ if use mysql; then
+ einfo "The mysql script for updating the tables is located in the"
+ einfo "/usr/share/doc/${P} directory"
+ fi
+}