* [gentoo-commits] gentoo-x86 commit in net-irc/anope: anope-1.8.0.ebuild ChangeLog
@ 2009-06-27 11:04 Patrick Lauer (patrick)
0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-06-27 11:04 UTC (permalink / raw
To: gentoo-commits
patrick 09/06/27 11:04:34
Modified: ChangeLog
Added: anope-1.8.0.ebuild
Log:
Bump to 1.8.0 final. Fixes #274378
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.15 net-irc/anope/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/anope/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/anope/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/anope/ChangeLog?r1=1.14&r2=1.15
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/anope/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog 4 Jan 2009 21:23:25 -0000 1.14
+++ ChangeLog 27 Jun 2009 11:04:34 -0000 1.15
@@ -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:
1.1 net-irc/anope/anope-1.8.0.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/anope/anope-1.8.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/anope/anope-1.8.0.ebuild?rev=1.1&content-type=text/plain
Index: anope-1.8.0.ebuild
===================================================================
# 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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-27 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-27 11:04 [gentoo-commits] gentoo-x86 commit in net-irc/anope: anope-1.8.0.ebuild ChangeLog Patrick Lauer (patrick)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox