summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-06-27 11:04:34 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-06-27 11:04:34 +0000
commit4718f3a674a5a03add85b4f4e9f9b75fe4e4878f (patch)
treeee37b16eb6a5c774944695ac5e023df01ddb7056
parentBump to 2.5.5. Fixes #274579 (diff)
downloadhistorical-4718f3a674a5a03add85b4f4e9f9b75fe4e4878f.tar.gz
historical-4718f3a674a5a03add85b4f4e9f9b75fe4e4878f.tar.bz2
historical-4718f3a674a5a03add85b4f4e9f9b75fe4e4878f.zip
Bump to 1.8.0 final. Fixes #274378
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
-rw-r--r--net-irc/anope/ChangeLog7
-rw-r--r--net-irc/anope/Manifest14
-rw-r--r--net-irc/anope/anope-1.8.0.ebuild159
3 files changed, 168 insertions, 12 deletions
diff --git a/net-irc/anope/ChangeLog b/net-irc/anope/ChangeLog
index 13c94a29ca94..f30ad1867eba 100644
--- a/net-irc/anope/ChangeLog
+++ b/net-irc/anope/ChangeLog
@@ -1,6 +1,11 @@
# 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.14 2009/01/04 21:23:25 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/ChangeLog,v 1.15 2009/06/27 11:04:34 patrick Exp $
+
+*anope-1.8.0 (27 Jun 2009)
+
+ 27 Jun 2009; Patrick Lauer <patrick@gentoo.org> +anope-1.8.0.ebuild:
+ Bump to 1.8.0 final. Fixes #274378
04 Jan 2009; Bjarke Istrup Pedersen <gurligebis@gentoo.org>
anope-1.8.0_rc1.ebuild:
diff --git a/net-irc/anope/Manifest b/net-irc/anope/Manifest
index c0ca0a5b6804..cac829c95b9c 100644
--- a/net-irc/anope/Manifest
+++ b/net-irc/anope/Manifest
@@ -1,17 +1,9 @@
------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
+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 2074 RMD160 51427fce1241cbab9b4e220147f3a035c6e2ee26 SHA1 5c6b239711b5dc5a97720bad58ec9cb853735efd SHA256 5d138b7316b8f1ebbccc93c82a124c0efe23cb1548a999e7dc0af3d5e2c4e4f3
+MISC ChangeLog 2208 RMD160 43154cf1166541bceb8f777132d01d0677247406 SHA1 198346a95dc1861c741a2ac8d4fe7c66a3be331d SHA256 32a331de2fdc4246fa90953b38afbcf6ed0bd911b0bb8d4cdf0a9ab1a3735c97
MISC metadata.xml 322 RMD160 4ac585786fcb58a92771bd8ee9f71f4738e64798 SHA1 133d8c37c5ab6d5366948f3de3e18c5a7a230ed4 SHA256 4240b9effe8d7796234c47e4f4af9ef4250bcfcafa9ec09e4b6a4a503de10b71
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAklhRPQACgkQsR7PQhRXYEntnwCcC4he3ASDdG5HIdWdEajTvINr
-zwsAn2/Niwlg9m1aVcG0FxMNU9xBAP6E
-=QnsY
------END PGP SIGNATURE-----
diff --git a/net-irc/anope/anope-1.8.0.ebuild b/net-irc/anope/anope-1.8.0.ebuild
new file mode 100644
index 000000000000..9657068dbcd1
--- /dev/null
+++ b/net-irc/anope/anope-1.8.0.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/anope/anope-1.8.0.ebuild,v 1.1 2009/06/27 11:04:34 patrick 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 ${INSTALL_DIR}/modules
+
+ 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
+ fowners anope:anope ${INSTALL_DIR}/modules
+
+ 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}/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
+}